aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/lower_subroutine.cpp
Commit message (Collapse)AuthorAgeFilesLines
* subroutines: handle explicit indexes properlyDave Airlie2016-05-231-1/+2
| | | | | | | | | | | | | | The code didn't deal with explicit function indexes properly. It also handed out the indexes at link time, when we really need them in the lowering pass to create the correct if ladder. So this patch moves assigning the non-explicit indexes earlier, fixes the lowering pass and the lookups to get the correct values. This fixes a few of: GL45-CTS.explicit_uniform_location.subroutine-index-* Signed-off-by: Dave Airlie <[email protected]>
* glsl: move to compiler/Emil Velikov2016-01-261-0/+123
Signed-off-by: Emil Velikov <[email protected]> Acked-by: Matt Turner <[email protected]> Acked-by: Jose Fonseca <[email protected]>