Re: [Mesa-dev] [PATCH] i965: Use the actual hardware g0 register for texel offset setup.

2011-10-28 Thread Eric Anholt
On Thu, 27 Oct 2011 10:49:14 -0700, Kenneth Graunke wrote: > The idea here is to set up the message header with the Sampler State > pointer which the hardware provides as part of the PS Thread Payload in > register g0. > > Unfortunately, the existing code > >fs_reg(GRF, 0, BRW_REGISTER_TYPE

[Mesa-dev] [PATCH] i965: Use the actual hardware g0 register for texel offset setup.

2011-10-27 Thread Kenneth Graunke
The idea here is to set up the message header with the Sampler State pointer which the hardware provides as part of the PS Thread Payload in register g0. Unfortunately, the existing code fs_reg(GRF, 0, BRW_REGISTER_TYPE_UD)) actually references "virtual GRF 0" rather than the hardware g0. Th