From 7cd1537aae28b9189b1251688ac1a5dc9d36cc80 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 15 Oct 2014 15:36:43 -0700 Subject: [PATCH] Fix up varying pull constants Reviewed-by: Connor Abbott --- src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp index 2b746728a28..350cf3fd5fa 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp @@ -1424,7 +1424,7 @@ fs_visitor::nir_emit_intrinsic(nir_intrinsic_instr *instr) for (unsigned i = 0; i < nir_intrinsic_infos[instr->intrinsic].dest_components; i++) { exec_list list = VARYING_PULL_CONSTANT_LOAD(dest, surf_index, - dest, base_offset + i); + offset, base_offset + i); fs_inst *last_inst = (fs_inst *) list.get_tail(); if (instr->has_predicate) last_inst->predicate = BRW_PREDICATE_NORMAL; -- 2.30.2