summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-04-19 15:37:49 +0200
committerSamuel Pitoiset <[email protected]>2017-06-14 10:04:36 +0200
commit156bcbaca69046a97393297a0d8394eba38736b7 (patch)
tree742d156acf51918354f672a6f3c8c6e140363c81 /common.py
parent41257fddc8843e800e3f1c61ccf1862cf81d3333 (diff)
mesa: keep track of the current variable in add_uniform_to_shader
Bindless samplers are considered PROGRAM_UNIFORM but add_uniform_to_shader::visit_field() is based on glsl_type. Because only ir_variable knows if the uniform variable is bindless via ir_variable::bindless, store it instead of adding a new parameter to visit_field(). Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions