Re: [Mesa-dev] [PATCH 1/2] i965: drop copy of NumImages

2016-09-26 Thread Jason Ekstrand
Not a big fan. This makes the prog_data structures less self-contained. You shouldn't have to look up an almost unrelated structure in order to figure out how big this one is. Also, I've been trying to move us in the direction of *more* stuff in prog_data, not less, so that we aren't looking up th

[Mesa-dev] [PATCH 1/2] i965: drop copy of NumImages

2016-09-26 Thread Lionel Landwerlin
We can access this value through gl_shader_program. Signed-off-by: Lionel Landwerlin Cc: Jason Ekstrand --- src/mesa/drivers/dri/i965/brw_compiler.h | 1 - src/mesa/drivers/dri/i965/brw_cs.c| 1 - src/mesa/drivers/dri/i965/brw_gs.c| 1 - src/mesa/drivers/dri/i965/brw_tcs.c