[Mesa-dev] [PATCH] nv50: prevent NV_OP_SELECT instructions from having the flags_def attribute defined

Bryan Cain bryancain3 at gmail.com
Mon Apr 4 13:53:20 PDT 2011


---
 src/gallium/drivers/nv50/nv50_pc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/nv50/nv50_pc.c b/src/gallium/drivers/nv50/nv50_pc.c
index 82f1b84..f6870cc 100644
--- a/src/gallium/drivers/nv50/nv50_pc.c
+++ b/src/gallium/drivers/nv50/nv50_pc.c
@@ -180,6 +180,7 @@ nv50_op_can_write_flags(uint opcode)
    switch (opcode) { /* obvious ones like KIL, CALL, etc. not included */
    case NV_OP_PHI:
    case NV_OP_MOV:
+   case NV_OP_SELECT:
    case NV_OP_LINTERP:
    case NV_OP_PINTERP:
    case NV_OP_LDA:
-- 
1.7.1



More information about the mesa-dev mailing list