commit | c714731653fb40d4e20cdfc98c3a200e836e2a21 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Tue May 17 13:07:40 2016 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Mon May 23 16:19:57 2016 +1000 |
tree | 68592cf22893224da223cf7c4b0cb37731aec7a3 | |
parent | 432ac19c1ad34f32bdcfe6ec7823383ee24eb016 [diff] |
glsl: fix subroutine uniform .length(). This fixes .length() on subroutine uniform arrays, if we don't find the identifier normally, we look up the corresponding subroutine identifier instead. Fixes: GL45-CTS.shader_subroutine.arrays_of_arrays_of_uniforms GL45-CTS.shader_subroutine.arrayed_subroutine_uniforms Reviewed-by: Chris Forbes <chrisforbes@google.com> Signed-off-by: Dave Airlie <airlied@redhat.com>