From 3a447b4065420d9a1dddde775bb7ccdc70493ae3 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 21 May 2026 08:39:10 -0400 Subject: [PATCH] jay: use new fs payload variable more blow up harder if we try to load stuff in the wrong stage Signed-off-by: Alyssa Rosenzweig Part-of: --- src/intel/compiler/jay/jay_from_nir.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/intel/compiler/jay/jay_from_nir.c b/src/intel/compiler/jay/jay_from_nir.c index 722313ccf6c..c3f0c188dcd 100644 --- a/src/intel/compiler/jay/jay_from_nir.c +++ b/src/intel/compiler/jay/jay_from_nir.c @@ -1447,15 +1447,15 @@ jay_emit_intrinsic(struct nir_to_jay_state *nj, nir_intrinsic_instr *intr) break; case nir_intrinsic_load_pixel_coord_intel: - jay_MOV(b, dst, nj->payload.fs.coord.xy); + jay_MOV(b, dst, fs->coord.xy); break; case nir_intrinsic_load_frag_coord_z: - jay_MOV(b, dst, nj->payload.fs.coord.z); + jay_MOV(b, dst, fs->coord.z); break; case nir_intrinsic_load_frag_coord_w_rcp: - jay_MOV(b, dst, nj->payload.fs.coord.w); + jay_MOV(b, dst, fs->coord.w); break; case nir_intrinsic_load_sample_pos: @@ -1549,7 +1549,7 @@ jay_emit_intrinsic(struct nir_to_jay_state *nj, nir_intrinsic_instr *intr) } /* Zeroth delta is the flat value */ - jay_copy(b, dst, nj->payload.fs.deltas[i]); + jay_copy(b, dst, fs->deltas[i]); break; }