diff options
author | Samuel Pitoiset <[email protected]> | 2017-04-19 15:37:49 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-14 10:04:36 +0200 |
commit | 156bcbaca69046a97393297a0d8394eba38736b7 (patch) | |
tree | 742d156acf51918354f672a6f3c8c6e140363c81 /common.py | |
parent | 41257fddc8843e800e3f1c61ccf1862cf81d3333 (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