freedreno: fix texture fetch type 94/6194/1
authorRob Clark <robclark@freedesktop.org>
Wed, 24 Apr 2013 14:48:59 +0000 (10:48 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 25 Apr 2013 01:09:46 +0000 (21:09 -0400)
commitd5d6ec884321ceaabe18ec4d33e9a27758696ef9
treea30e2385ecaf102e8507f21cec6aca31064aca74
parentd086bb22bce6c9ed0afeb782ccd4ba6fa2561e02
freedreno: fix texture fetch type

There is a bit we need to set for 2D vs 3D fetch, to tell the hw whether
there are two or there valid input components.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_compiler.c
src/gallium/drivers/freedreno/instr-a2xx.h
src/gallium/drivers/freedreno/ir-a2xx.c
src/gallium/drivers/freedreno/ir-a2xx.h