i915g: Check for negate/swizzle on TGSI_OPCODE_KILL_IF's src.yzw.

Caught by imirkin while debugging #4986.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13133>
This commit is contained in:
Emma Anholt 2021-10-01 12:26:59 -07:00 committed by Marge Bot
parent ba48b27a11
commit ebe5626de6

View file

@ -521,7 +521,7 @@ i915_translate_instruction(struct i915_fp_compile *p,
0, /* sampler */
src0, /* coord*/
T0_TEXKILL, /* opcode */
1); /* num_coord */
4); /* num_coord */
break;
case TGSI_OPCODE_KILL: