Re: [Mesa-dev] [PATCH] i965: Shrink size of prog_data's binding table starting indices.

2015-11-20 Thread Kenneth Graunke
On Friday, November 20, 2015 02:27:21 PM Jason Ekstrand wrote: > We should probably change the bad binding table entry values in the > binding table setup code to reflect this. Oh, good point, we use -1...which would become 255, which means stateless. That's probably okay, as it isn't a meaningfu

Re: [Mesa-dev] [PATCH] i965: Shrink size of prog_data's binding table starting indices.

2015-11-20 Thread Jason Ekstrand
We should probably change the bad binding table entry values in the binding table setup code to reflect this. On Fri, Nov 20, 2015 at 2:23 PM, Kenneth Graunke wrote: > The valid range for binding table indices is 0..255, so a uint8_t is a > perfect fit. We don't need a full uint32_t. > > Signed-

[Mesa-dev] [PATCH] i965: Shrink size of prog_data's binding table starting indices.

2015-11-20 Thread Kenneth Graunke
The valid range for binding table indices is 0..255, so a uint8_t is a perfect fit. We don't need a full uint32_t. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_compiler.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mesa/drivers/dr