summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/mipmap.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-03-29 13:21:48 -0700
committerKenneth Graunke <[email protected]>2016-04-01 22:05:20 -0700
commitc123294dfe2e52443f2eff2723ef922f22972ef5 (patch)
treea17e4c54d9efcc7ddc2a28e8d8674834b32e29ea /src/mesa/main/mipmap.c
parent9fe211bec4533bd5cebeb61b38343ae9c174abb7 (diff)
glsl: Return -1 for program interface query locations in many cases.
We were recording locations for all variables, even ones without an explicit location set. Implement the rules from the spec, and record -1 in the resource list accordngly. Make program_resource_location stop doing math on negative values. Remove hacks that are no longer necessary now that we've stopped doing that. Fixes 4 dEQP-GLES31.functional.program_interface_query tests: - program_input.location.separable_fragment.var - program_input.location.separable_fragment.var_array - program_output.location.separable_vertex.var_array - program_output.location.separable_vertex.var_array v2: Delete more code Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/mipmap.c')
0 files changed, 0 insertions, 0 deletions