[Mesa-dev] [RFC PATCH 29/40] i965/vec4: Append uniform variables to the gather table

Abdiel Janulgue abdiel.janulgue at linux.intel.com
Sun Jan 4 06:04:43 PST 2015


Signed-off-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
---
 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 0f22829..8dee915 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@ -1093,6 +1093,7 @@ vec4_visitor::visit(ir_variable *ir)
       } else {
 	 setup_uniform_values(ir);
       }
+      stage_prog_data->gather_table[stage_prog_data->nr_gather_table++].reg = reg->reg;
       break;
 
    case ir_var_system_value:
-- 
1.9.1



More information about the mesa-dev mailing list