This doesn't seem to make any difference in testing, but it fixes a
failed assertion when dumping sm3 shaders.
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
case TGSI_TEXTURE_2D:
case TGSI_TEXTURE_RECT:
return SVGA3DSAMP_2D;
+ case TGSI_TEXTURE_SHADOW2D:
+ return SVGA3DSAMP_2D_SHADOW;
case TGSI_TEXTURE_3D:
return SVGA3DSAMP_VOLUME;
case TGSI_TEXTURE_CUBE:
case SVGA3DSAMP_2D:
_debug_printf( "_2d" );
break;
+ case SVGA3DSAMP_2D_SHADOW:
+ _debug_printf( "_2dshadow" );
+ break;
case SVGA3DSAMP_CUBE:
_debug_printf( "_cube" );
break;