diff options
author | Jakob Bornecrantz <[email protected]> | 2012-01-09 14:26:04 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2012-01-10 16:59:44 +0100 |
commit | b5f31333a6cdc96b9638e6addfbb7744d506a73b (patch) | |
tree | 613062056662751f854d5c1ea2f563576902754a /src/gallium/drivers/svga | |
parent | 13c78e77861fd3b75ad0ccfd7de7cac8f8f3665b (diff) |
svga: Silence warning
Signed-off-by: Jakob Bornecrantz <[email protected]>
Reviewed-by Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r-- | src/gallium/drivers/svga/svga_tgsi_decl_sm30.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi_decl_sm30.c b/src/gallium/drivers/svga/svga_tgsi_decl_sm30.c index 15cd40284c6..0c5cb90939c 100644 --- a/src/gallium/drivers/svga/svga_tgsi_decl_sm30.c +++ b/src/gallium/drivers/svga/svga_tgsi_decl_sm30.c @@ -528,15 +528,8 @@ svga_translate_decl_sm30( struct svga_shader_emitter *emit, { unsigned first = decl->Range.First; unsigned last = decl->Range.Last; - unsigned semantic = 0; - unsigned semantic_idx = 0; unsigned idx; - if (decl->Declaration.Semantic) { - semantic = decl->Semantic.Name; - semantic_idx = decl->Semantic.Index; - } - for( idx = first; idx <= last; idx++ ) { boolean ok; |