[Mesa-dev] [RFC PATCH 23/40] i965/fs: Associate the uniform location for the fragment shader
Abdiel Janulgue
abdiel.janulgue at linux.intel.com
Sun Jan 4 06:04:37 PST 2015
Signed-off-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
---
src/mesa/drivers/dri/i965/brw_fs.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 3639ed2..0f2c2c4 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -1144,6 +1144,7 @@ fs_visitor::setup_uniform_values(ir_variable *ir)
continue;
}
+ brw->uniformstagemap[u] |= _NEW_FRAGMENT_CONSTANTS;
unsigned slots = storage->type->component_slots();
if (storage->array_elements)
slots *= storage->array_elements;
--
1.9.1
More information about the mesa-dev
mailing list