On Thu, 27 Oct 2011 10:49:14 -0700, Kenneth Graunke <[email protected]> 
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_UD))
> 
> actually references "virtual GRF 0" rather than the hardware g0.  This
> is just some arbitrary GRF temporary which will get register allocated.
> 
> So, we ended up setting up the header with garbage.
> 
> Signed-off-by: Kenneth Graunke <[email protected]>

Reviewed-by: Eric Anholt <[email protected]>

Attachment: pgpKn8m03i8oZ.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to