Re: [Mesa-dev] [PATCH] i965/ps: Use SET_FIELD() for sampler count

2015-04-29 Thread Anuj Phogat
On Wed, Apr 29, 2015 at 2:14 PM, Topi Pohjolainen wrote: > The value is actually clamped to 0-16 as sample state pointer > can be used to support more than 16 samplers. > > Signed-off-by: Topi Pohjolainen > --- > src/mesa/drivers/dri/i965/brw_defines.h | 1 + > src/mesa/drivers/dri/i965/gen7_w

Re: [Mesa-dev] [PATCH] i965/ps: Use SET_FIELD() for sampler count

2015-04-29 Thread Kenneth Graunke
On Thursday, April 30, 2015 12:14:34 AM Topi Pohjolainen wrote: > The value is actually clamped to 0-16 as sample state pointer > can be used to support more than 16 samplers. > > Signed-off-by: Topi Pohjolainen > --- > src/mesa/drivers/dri/i965/brw_defines.h | 1 + > src/mesa/drivers/dri/i965

[Mesa-dev] [PATCH] i965/ps: Use SET_FIELD() for sampler count

2015-04-29 Thread Topi Pohjolainen
The value is actually clamped to 0-16 as sample state pointer can be used to support more than 16 samplers. Signed-off-by: Topi Pohjolainen --- src/mesa/drivers/dri/i965/brw_defines.h | 1 + src/mesa/drivers/dri/i965/gen7_wm_state.c | 5 +++-- src/mesa/drivers/dri/i965/gen8_ps_state.c | 5 +++-