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_vs.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_vs.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_pipe_vs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_vs.c b/src/gallium/drivers/svga/svga_pipe_vs.c index de8c919e125..11d1dc37611 100644 --- a/src/gallium/drivers/svga/svga_pipe_vs.c +++ b/src/gallium/drivers/svga/svga_pipe_vs.c @@ -31,7 +31,6 @@ #include "tgsi/tgsi_parse.h" #include "tgsi/tgsi_text.h" -#include "svga_screen.h" #include "svga_context.h" #include "svga_tgsi.h" #include "svga_hw_reg.h" @@ -101,7 +100,6 @@ svga_create_vs_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_vertex_shader *vs = CALLOC_STRUCT(svga_vertex_shader); if (!vs) return NULL; @@ -126,7 +124,6 @@ svga_create_vs_state(struct pipe_context *pipe, } vs->base.id = svga->debug.shader_id++; - vs->base.use_sm30 = svgascreen->use_vs30; if (SVGA_DEBUG & DEBUG_TGSI || 0) { debug_printf("%s id: %u, inputs: %u, outputs: %u\n", |