diff options
author | Kenneth Graunke <[email protected]> | 2013-07-18 14:28:05 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-18 16:57:24 -0700 |
commit | 67038c6ba27ea55d8d65557922bfe758a01101ef (patch) | |
tree | dab073827cc2313a407689c949dfcd8150ca82a3 /docs/relnotes/9.1.1.html | |
parent | 0a23ec2b6e3742281a0047da9246039e86e4a7b6 (diff) |
glsl: Add plumbing for handling uniform binding qualifiers.
Sampler uniforms and uniform blocks do not have a var->constant_value.
Instead, they have an integer var->binding value.
This makes extending set_uniform_initializer() somewhat problematic: it
assumes that there is an ir_constant * which represents the initializer,
and that it's safe to dereference that without any NULL checks.
Instead, this patch creates an analogous function for binding
qualifiers, and calls one or the other as appropriate.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'docs/relnotes/9.1.1.html')
0 files changed, 0 insertions, 0 deletions