glsl: Modify uniform_field_visitor::visit_field to take a row_major parameter
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 22 Jan 2013 03:41:13 +0000 (22:41 -0500)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 25 Jan 2013 14:07:34 +0000 (09:07 -0500)
commit141e9d42f518fb113dcaf01fcb0c82b14726ebd6
treea6c7ad21707060d1db13fedaf3d5b488d0e1dadd
parent6a0c1bc16334b72de25e57d0c7e0a72dcd7c5ecf
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 <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/link_uniforms.cpp
src/glsl/linker.h
src/mesa/program/ir_to_mesa.cpp