summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_minmax.cpp
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2016-01-08 08:20:25 +0200
committerTapani Pälli <[email protected]>2016-01-12 07:52:44 +0200
commit4985159ad6884d7d6ab509567349ae0f716d4080 (patch)
tree04317e4de87f0fd02193931202afbe3d5800b9f9 /src/glsl/opt_minmax.cpp
parent395b53dad69470f0f3014e96bed0e6ceef383ce8 (diff)
glsl: track total amount of uniform locations used
Linker missed a check for situation where we exceed max amount of uniform locations with explicit + implicit locations. Patch adds this check to already existing iteration over uniforms in linker. Fixes following CTS test: ES31-CTS.explicit_uniform_location.uniform-loc-negative-link-max-num-of-locations v2: use var->type->uniform_locations() (Timothy) Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/glsl/opt_minmax.cpp')
0 files changed, 0 insertions, 0 deletions