From 44e6944e9dda3b78f2f4a9bdd583a4feeae1dcba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 31 Oct 2007 14:58:43 +0000 Subject: [PATCH] Handle TGSI_OPCODE_RET. --- src/mesa/pipe/i915simple/i915_fpc_translate.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/pipe/i915simple/i915_fpc_translate.c b/src/mesa/pipe/i915simple/i915_fpc_translate.c index 7db7e4f6ba9..7838031c17b 100644 --- a/src/mesa/pipe/i915simple/i915_fpc_translate.c +++ b/src/mesa/pipe/i915simple/i915_fpc_translate.c @@ -673,6 +673,10 @@ i915_translate_instruction(struct i915_fp_compile *p, flags, 0, swizzle(tmp, X, X, X, X), 0, 0); break; + case TGSI_OPCODE_RET: + /* XXX: no-op? */ + break; + case TGSI_OPCODE_RCP: src0 = src_vector(p, &inst->FullSrcRegisters[0]); -- 2.30.2