diff options
author | Brian Paul <[email protected]> | 2018-08-23 20:48:04 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-08-29 11:29:07 -0600 |
commit | 18e9b4791b0395e67e5ef1e622ac66515ae8baf9 (patch) | |
tree | 35f6a4e64aed3a13e9351c3c438489fbbe87b253 /src/gallium/drivers/svga/svgadump | |
parent | fb7e462c979b29b65b841811cfe97a26c9cc93ee (diff) |
svga: add missing switch cases for shadow textures
This doesn't seem to make any difference in testing, but it fixes a
failed assertion when dumping sm3 shaders.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svgadump')
-rw-r--r-- | src/gallium/drivers/svga/svgadump/svga_shader_dump.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svgadump/svga_shader_dump.c b/src/gallium/drivers/svga/svgadump/svga_shader_dump.c index 46126a5460d..55bcdb8e253 100644 --- a/src/gallium/drivers/svga/svgadump/svga_shader_dump.c +++ b/src/gallium/drivers/svga/svgadump/svga_shader_dump.c @@ -287,6 +287,9 @@ dump_sampleinfo(struct sh_sampleinfo sampleinfo) case SVGA3DSAMP_2D: _debug_printf( "_2d" ); break; + case SVGA3DSAMP_2D_SHADOW: + _debug_printf( "_2dshadow" ); + break; case SVGA3DSAMP_CUBE: _debug_printf( "_cube" ); break; |