diff options
author | Brian Paul <[email protected]> | 2014-12-12 16:45:33 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-12-12 16:45:33 -0700 |
commit | 64bd1ac2b1a7f054ace4349667c69ca4b197e283 (patch) | |
tree | d1d352722f91bcb8c640b75c3bfef3cfc06b2baf /src/mesa/program/ir_to_mesa.cpp | |
parent | 7dccc1a57aff9d65c3ddfa2fa4ede28e96f7764b (diff) |
ir_to_mesa: remove unused 'target' variable
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/program/ir_to_mesa.cpp')
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 68e2597cb42..5196545b8ae 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -2943,7 +2943,6 @@ _mesa_ir_link_shader(struct gl_context *ctx, struct gl_shader_program *prog) /* Lowering */ do_mat_op_to_vec(ir); - GLenum target = _mesa_shader_stage_to_program(prog->_LinkedShaders[i]->Stage); lower_instructions(ir, (MOD_TO_FRACT | DIV_TO_MUL_RCP | EXP_TO_EXP2 | LOG_TO_LOG2 | INT_DIV_TO_MUL_RCP | ((options->EmitNoPow) ? POW_TO_EXP2 : 0))); |