summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-01-11 20:18:56 +0100
committerChristoph Bumiller <[email protected]>2012-01-11 20:26:52 +0100
commit9d503992d7309a49df0b0a4887b999e2d6b291c0 (patch)
treef50e9d2e00a106e9a504154c3977f817004cfdb9
parentf6b994b3058d1c6cd7c28eef522c08df3d83bea7 (diff)
nv50/ir: handle TGSI_TEXTURE_SHADOWCUBE
-rw-r--r--src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp
index 8b368953fa9..7f4c7f261ef 100644
--- a/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp
+++ b/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp
@@ -345,6 +345,7 @@ static nv50_ir::TexTarget translateTexture(uint tex)
NV50_IR_TEX_TARG_CASE(SHADOW2D, 2D_SHADOW);
NV50_IR_TEX_TARG_CASE(SHADOW1D_ARRAY, 1D_ARRAY_SHADOW);
NV50_IR_TEX_TARG_CASE(SHADOW2D_ARRAY, 2D_ARRAY_SHADOW);
+ NV50_IR_TEX_TARG_CASE(SHADOWCUBE, CUBE_SHADOW);
NV50_IR_TEX_TARG_CASE(SHADOWRECT, RECT_SHADOW);
case TGSI_TEXTURE_UNKNOWN: