summaryrefslogtreecommitdiffstats
path: root/src/glsl/linker.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-01-21 22:41:13 -0500
committerIan Romanick <[email protected]>2013-01-25 09:07:34 -0500
commit141e9d42f518fb113dcaf01fcb0c82b14726ebd6 (patch)
treea6c7ad21707060d1db13fedaf3d5b488d0e1dadd /src/glsl/linker.h
parent6a0c1bc16334b72de25e57d0c7e0a72dcd7c5ecf (diff)
glsl: Modify uniform_field_visitor::visit_field to take a row_major parameter
Not used yet, but the UBO layout visitor will use this. v2: Remove a spruious hunk. This is moved to the patch "glsl: Remove ir_variable::uniform_block". Suggested by Carl Worth. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/linker.h')
-rw-r--r--src/glsl/linker.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glsl/linker.h b/src/glsl/linker.h
index e69098afdc3..0ad217f841c 100644
--- a/src/glsl/linker.h
+++ b/src/glsl/linker.h
@@ -90,8 +90,10 @@ protected:
*
* \param type Type of the field.
* \param name Fully qualified name of the field.
+ * \param row_major For a matrix type, is it stored row-major.
*/
- virtual void visit_field(const glsl_type *type, const char *name) = 0;
+ virtual void visit_field(const glsl_type *type, const char *name,
+ bool row_major) = 0;
private:
/**