i915g: Remove redundant p->error setting.
authorEmma Anholt <emma@anholt.net>
Sun, 27 Jun 2021 21:51:53 +0000 (14:51 -0700)
committerEmma Anholt <emma@anholt.net>
Mon, 28 Jun 2021 22:01:37 +0000 (15:01 -0700)
i915_program_error() already does it.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11617>

src/gallium/drivers/i915/i915_fpc_translate.c

index 4976823..4f4b2ea 100644 (file)
@@ -819,7 +819,6 @@ i915_translate_instruction(struct i915_fp_compile *p,
       i915_program_error(p, "bad opcode %s (%d)",
                          tgsi_get_opcode_name(inst->Instruction.Opcode),
                          inst->Instruction.Opcode);
-      p->error = 1;
       return;
    }