Re: [Mesa-dev] [PATCH] i965: Make validate_reg tables constant

2014-12-01 Thread Ben Widawsky
On Mon, Dec 01, 2014 at 10:23:31AM -0800, Matt Turner wrote: > On Mon, Dec 1, 2014 at 4:59 AM, Juha-Pekka Heikkila > wrote: > > Declare local tables constant. Also added extra '32' at end of > > "width_for_reg" to be future proof, cvt function which give > > indexes to access here could already gi

Re: [Mesa-dev] [PATCH] i965: Make validate_reg tables constant

2014-12-01 Thread Matt Turner
On Mon, Dec 1, 2014 at 4:59 AM, Juha-Pekka Heikkila wrote: > Declare local tables constant. Also added extra '32' at end of > "width_for_reg" to be future proof, cvt function which give > indexes to access here could already give index to reach place > number five now containing '32'. I don't see

[Mesa-dev] [PATCH] i965: Make validate_reg tables constant

2014-12-01 Thread Juha-Pekka Heikkila
Declare local tables constant. Also added extra '32' at end of "width_for_reg" to be future proof, cvt function which give indexes to access here could already give index to reach place number five now containing '32'. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/drivers/dri/i965/brw_eu_emit.