diff options
author | Rob Clark <[email protected]> | 2013-04-24 10:48:59 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2013-04-24 21:09:46 -0400 |
commit | d5d6ec884321ceaabe18ec4d33e9a27758696ef9 (patch) | |
tree | a30e2385ecaf102e8507f21cec6aca31064aca74 /src/gallium/drivers/freedreno/instr-a2xx.h | |
parent | d086bb22bce6c9ed0afeb782ccd4ba6fa2561e02 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/instr-a2xx.h')
-rw-r--r-- | src/gallium/drivers/freedreno/instr-a2xx.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |