[Mesa-dev] [PATCH 028/133] Fix up varying pull constants

Jason Ekstrand jason at jlekstrand.net
Mon Dec 15 22:04:38 PST 2014


---
 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 aab5b0d..22f4c0f 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
@@ -1427,7 +1427,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.2.0



More information about the mesa-dev mailing list