Mesa (master): nouveau: Fix build after STR/BRA opcode dropping.

Eric Anholt anholt at kemper.freedesktop.org
Mon Nov 24 23:26:56 UTC 2014


Module: Mesa
Branch: master
Commit: 93d30ff5d628770fcff5a931401fe76fbd8242df
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=93d30ff5d628770fcff5a931401fe76fbd8242df

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Nov 24 15:22:25 2014 -0800

nouveau: Fix build after STR/BRA opcode dropping.

I missed these while git grepping for users of the dead opcodes.  Sigh,
macros.

---

 src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
index aa7390b..39a70aa 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
@@ -538,12 +538,10 @@ static nv50_ir::operation translateOpcode(uint opcode)
    NV50_IR_OPCODE_CASE(SIN, SIN);
    NV50_IR_OPCODE_CASE(SLE, SET);
    NV50_IR_OPCODE_CASE(SNE, SET);
-   NV50_IR_OPCODE_CASE(STR, SET);
    NV50_IR_OPCODE_CASE(TEX, TEX);
    NV50_IR_OPCODE_CASE(TXD, TXD);
    NV50_IR_OPCODE_CASE(TXP, TEX);
 
-   NV50_IR_OPCODE_CASE(BRA, BRA);
    NV50_IR_OPCODE_CASE(CAL, CALL);
    NV50_IR_OPCODE_CASE(RET, RET);
    NV50_IR_OPCODE_CASE(CMP, SLCT);




More information about the mesa-commit mailing list