diff options
author | Brian Paul <[email protected]> | 2011-10-11 09:30:09 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-10-11 09:30:09 -0600 |
commit | 94b219b9e2c20711078b1628cf1fa599a29bf67f (patch) | |
tree | bd630eb8b166e3043152a65d0d49595bffb0ac33 /src/gallium/drivers/svga/svga_pipe_fs.c | |
parent | 396ac41fc285f0d7c8545f2b32ba373693a7a326 (diff) |
svga: remove support for shader model 2.0
We've been requiring SM 3.0 all along so this just removes unused code.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_pipe_fs.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_pipe_fs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_fs.c b/src/gallium/drivers/svga/svga_pipe_fs.c index b71bc66552f..347341eaaa7 100644 --- a/src/gallium/drivers/svga/svga_pipe_fs.c +++ b/src/gallium/drivers/svga/svga_pipe_fs.c @@ -29,7 +29,6 @@ #include "util/u_bitmask.h" #include "tgsi/tgsi_parse.h" -#include "svga_screen.h" #include "svga_context.h" #include "svga_tgsi.h" #include "svga_hw_reg.h" @@ -46,7 +45,6 @@ svga_create_fs_state(struct pipe_context *pipe, const struct pipe_shader_state *templ) { struct svga_context *svga = svga_context(pipe); - struct svga_screen *svgascreen = svga_screen(pipe->screen); struct svga_fragment_shader *fs; fs = CALLOC_STRUCT(svga_fragment_shader); @@ -60,7 +58,6 @@ svga_create_fs_state(struct pipe_context *pipe, tgsi_scan_shader(fs->base.tokens, &fs->base.info); fs->base.id = svga->debug.shader_id++; - fs->base.use_sm30 = svgascreen->use_ps30; if (SVGA_DEBUG & DEBUG_TGSI || 0) { debug_printf("%s id: %u, inputs: %u, outputs: %u\n", |