nouveau: codegen: LOAD: Always use component 0 when getting the address
authorHans de Goede <hdegoede@redhat.com>
Thu, 21 Apr 2016 11:31:01 +0000 (13:31 +0200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 27 Apr 2016 14:11:48 +0000 (16:11 +0200)
commit1958397a587919e4a3ec83441c3717813ba2f18b
tree4a2aba267fbcc29b1583457313f164b0c93783b2
parent7d25ed70362ee9362aeeadb00f5a4e2bea690827
nouveau: codegen: LOAD: Always use component 0 when getting the address

LOAD loads upto 4 components from the specified resource starting at
the passed in x value of the 2nd source operand, the y, z and w
components of the address should not be used.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp