Re: [Mesa-dev] [PATCH] i965/fs: Allow array dereference of HW_REG.

2014-06-04 Thread Kenneth Graunke
On Wednesday, June 04, 2014 09:06:31 PM Chris Forbes wrote: > When dereferencing an element of gl_SampleMaskIn[], the source register > here will be a HW_REG rather than a VGRF because the payload slot is > now exposed directly. > > Fixes an assertion failure in the Piglit test: > >tests/spec

[Mesa-dev] [PATCH] i965/fs: Allow array dereference of HW_REG.

2014-06-04 Thread Chris Forbes
When dereferencing an element of gl_SampleMaskIn[], the source register here will be a HW_REG rather than a VGRF because the payload slot is now exposed directly. Fixes an assertion failure in the Piglit test: tests/spec/arb_gpu_shader5/execution/samplemaskin-basic Signed-off-by: Chris Forbes