summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-10-15 15:36:43 -0700
committerJason Ekstrand <[email protected]>2015-01-15 07:18:59 -0800
commit7cd1537aae28b9189b1251688ac1a5dc9d36cc80 (patch)
tree9715db6f307005c62120fc15af4c9ae3c6bb861d
parent4bb81f6d025adb647e31445b907cdad48003a3e9 (diff)
Fix up varying pull constants
Reviewed-by: Connor Abbott <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_nir.cpp2
1 files changed, 1 insertions, 1 deletions
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;