diff options
author | Matt Turner <[email protected]> | 2015-06-01 16:46:29 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-06-03 10:40:59 -0700 |
commit | 54a70a8ef20a9a875f0828acb42332cf69217ff5 (patch) | |
tree | 60fc58b1e5b101c784be390e985f711a93a39434 /src/mesa/program/ir_to_mesa.cpp | |
parent | fb011d31578ada40c2755314db783522477d0ad4 (diff) |
program: Replace gl_inst_opcode with enum prog_opcode.
Both were introduced at the same time. I'm not sure why we needed two.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program/ir_to_mesa.cpp')
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 02a05687683..37597247904 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -405,7 +405,7 @@ ir_to_mesa_visitor::emit_dp(ir_instruction *ir, dst_reg dst, src_reg src0, src_reg src1, unsigned elements) { - static const gl_inst_opcode dot_opcodes[] = { + static const enum prog_opcode dot_opcodes[] = { OPCODE_DP2, OPCODE_DP3, OPCODE_DP4 }; |