Mesa (main): i915g: Remove redundant p->error setting.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 28 22:17:31 UTC 2021


Module: Mesa
Branch: main
Commit: 7ddebb028963a451870e29f3c04975b8c49109c1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ddebb028963a451870e29f3c04975b8c49109c1

Author: Emma Anholt <emma at anholt.net>
Date:   Sun Jun 27 14:51:53 2021 -0700

i915g: Remove redundant p->error setting.

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 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/i915/i915_fpc_translate.c b/src/gallium/drivers/i915/i915_fpc_translate.c
index 4976823251f..4f4b2ea020b 100644
--- a/src/gallium/drivers/i915/i915_fpc_translate.c
+++ b/src/gallium/drivers/i915/i915_fpc_translate.c
@@ -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;
    }
 



More information about the mesa-commit mailing list