diff options
author | Iago Toral Quiroga <[email protected]> | 2016-03-09 11:48:25 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2016-03-10 08:48:53 +0100 |
commit | 3e3de9ec0a2c5d6ffac65a4b66022b3e41d7b019 (patch) | |
tree | abafd8f614f88606d436a8d1ed587d9a45f223b8 /src/egl/main/eglfallbacks.c | |
parent | d46feee697671a0815dc8dac4ffb70d1e9142bc2 (diff) |
glsl: report correct number of allowed vertex inputs and fragment outputs
Before we would always report 16 for both and we would only fail if either
one exceeded 16. Now we fail if the maximum for each is exceeded, even if
it is smaller than 16 and we report the correct maximum.
Also, expand the size of to_assign[] to 32. There is code at the top
of the function handling max_index up to 32, so this just makes the
code more consistent.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/egl/main/eglfallbacks.c')
0 files changed, 0 insertions, 0 deletions