commit | c59802d3a147956d4f33586bb6221cd236987ee2 | [log] [tgz] |
---|---|---|
author | Chris Forbes <chrisf@ijw.co.nz> | Sun May 18 12:03:54 2014 +1200 |
committer | Chris Forbes <chrisf@ijw.co.nz> | Sat Jul 26 16:46:03 2014 +1200 |
tree | a9fdae7c0c72c44387962d18ea7d180cf47fb94f | |
parent | 9c90a633786ab8e204c118ec92015eb3ae194349 [diff] |
glsl: Convert uniform_block in lower_ubo_reference to ir_rvalue. Previously this was a block index with special semantics for -1. With ARB_gpu_shader5, this need not be a compile-time constant, so allow any rvalue here and convert the -1 to a NULL pointer. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>