On Thu, 27 Oct 2011 10:49:14 -0700, Kenneth Graunke <kenn...@whitecape.org> 
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 <kenn...@whitecape.org>

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: pgpKn8m03i8oZ.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to