From d5d6ec884321ceaabe18ec4d33e9a27758696ef9 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 24 Apr 2013 10:48:59 -0400 Subject: 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 --- src/gallium/drivers/freedreno/instr-a2xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/freedreno/instr-a2xx.h') diff --git a/src/gallium/drivers/freedreno/instr-a2xx.h b/src/gallium/drivers/freedreno/instr-a2xx.h index cecc7a98b8a..e1e897ee561 100644 --- a/src/gallium/drivers/freedreno/instr-a2xx.h +++ b/src/gallium/drivers/freedreno/instr-a2xx.h @@ -327,7 +327,7 @@ typedef struct PACKED { instr_tex_filter_t vol_mag_filter : 2; instr_tex_filter_t vol_min_filter : 2; uint8_t use_comp_lod : 1; - uint8_t use_reg_lod : 2; + uint8_t use_reg_lod : 2; /* 0 for cube, 1 for 2d */ uint8_t pred_select : 1; /* dword2: */ uint8_t use_reg_gradients : 1; -- cgit v1.2.3