Re: [Mesa-dev] [PATCH 8/8] nir: specify bit_size when loading system values

2018-07-16 Thread Jason Ekstrand
On Mon, Jul 16, 2018 at 7:29 AM Karol Herbst wrote: > With OpenCL the size of some system value depends on the Physical model > choosen, so we need a way to load any system value as 32 or 64 bit. > > We could probably be a lot smarter and specify which system values might > be valid as 32 and/or

[Mesa-dev] [PATCH 8/8] nir: specify bit_size when loading system values

2018-07-16 Thread Karol Herbst
With OpenCL the size of some system value depends on the Physical model choosen, so we need a way to load any system value as 32 or 64 bit. We could probably be a lot smarter and specify which system values might be valid as 32 and/or 64 bit, but I get the feeling it isn't really worth the effort