diff options
author | Samuel Pitoiset <[email protected]> | 2017-05-01 15:53:56 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-05-06 16:40:19 +0200 |
commit | d04b0f31d328af95cebec816adfe683a6095bca8 (patch) | |
tree | e0f62302142c2cdd9522ab0866dc1b6ad171cfe9 /src/compiler/nir/nir_metadata.c | |
parent | d550024a7ee2775b282acb761d81f1983ea15bcf (diff) |
glsl: teach lower_ubo_reference about samplers inside structures
In a situation like:
(tex vec4 (record_ref (var_ref f) tex) (constant vec2 (0.000000 0.000000)) 0 1 () )
The sampler needs to be lowered, otherwise this ends up with
"ir_dereference_variable @ 0x229a100 specifies undeclared variable
`ubo_load_temp' @ 0x2290440"
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_metadata.c')
0 files changed, 0 insertions, 0 deletions