diff options
author | Tapani Pälli <[email protected]> | 2015-10-20 12:18:51 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-10-21 06:12:15 +0300 |
commit | a59c1adcc665b70ca5a8fbfebe3f0d6e05ad2778 (patch) | |
tree | 645acea715239121a679829bbb6114823ca06e5f /src/glsl/ast_function.cpp | |
parent | 1f48ea1193e3659c3f94b5de31d9200c1d500e72 (diff) |
glsl: fix record type detection in explicit location assign
Check current_var directly instead of using the passed in record_type.
This fixes following failing CTS test:
ES31-CTS.explicit_uniform_location.uniform-loc-types-structs
No Piglit regressions.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Marta Lofstedt <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/glsl/ast_function.cpp')
0 files changed, 0 insertions, 0 deletions