summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2014-04-04 12:46:01 -0700
committerIan Romanick <[email protected]>2014-04-11 12:26:01 -0700
commitcc42717b50bd46c82ac7925c397cd105ac82d091 (patch)
tree5240649d1619c20888b06fc7c1fba8ea67ed94b0 /configure.ac
parent157391a41bc3e0222888d0450405867139ab4c9d (diff)
linker: Set block bindings based on UniformBlocks rather than UniformStorage
For blocks, gl_shader_program::UniformStorage isn't very useful. The names stored there are the names of the elements of the block, so finding blocks with an instance name is hard. There is also only one entry in ::UniformStorage for each element of a block array, and that is a deal breaker. Using ::UniformBlocks is what _mesa_GetUniformBlockIndex does. I contemplated sharing code between set_block_binding and _mesa_GetUniformBlockIndex, but building the stand-alone compiler and the unit tests make this hard. I plan to return to this effort shortly. Signed-off-by: Ian Romanick <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76323 Reviewed-by: Kenneth Graunke <[email protected]> Cc: "10.1" <[email protected]> Cc: [email protected]
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions