Keith Whitwell pisze: > Remove the need to have a pointer in this struct by just including > the immediate data inline. Having a pointer in the struct introduces > complications like needing to alloc/free the data pointed to, uncertainty > about who owns the data, etc. There doesn't seem to be a need for it, > and it is unlikely to make much difference plus or minus to performance. > > Added some asserts as we now will trip up on immediates with more > than four elements. There were actually already quite a few such asserts, > but the >4 case could be used in the future to specify indexable immediate > ranges, such as lookup tables. > This also looks OK. Thanks again.
------------------------------------------------------------------------------ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
