nv50/ir: handle TGSI_TEXTURE_SHADOWCUBE
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 11 Jan 2012 19:18:56 +0000 (20:18 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 11 Jan 2012 19:26:52 +0000 (20:26 +0100)
src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp

index 8b368953fa96cf0218d1f2f0e7315d66db57c349..7f4c7f261ef968950e3318fa6a4ca68c6349573c 100644 (file)
@@ -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: