OSDN Git Service

i915: Add missing break; after handling the stub NOISE instructions.
authorEric Anholt <eric@anholt.net>
Mon, 12 Apr 2010 20:19:53 +0000 (13:19 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 20 Apr 2010 19:46:23 +0000 (12:46 -0700)
Bug #27348

src/mesa/drivers/dri/i915/i915_fragprog.c

index 15e3b87..906d585 100644 (file)
@@ -664,6 +664,7 @@ upload_program(struct i915_fragment_program *p)
                         get_result_vector(p, inst),
                         get_result_flags(inst), 0,
                         swizzle(tmp, ZERO, ZERO, ZERO, ZERO), 0, 0);
+        break;
 
       case OPCODE_POW:
          src0 = src_vector(p, &inst->SrcReg[0], program);