diff options
author | Dave Airlie <[email protected]> | 2016-05-24 06:41:21 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-06-07 06:10:19 +1000 |
commit | 07403014c3a29bfdecc89def187389ac9f208529 (patch) | |
tree | 7886817d884483ae38d2f18ec346ee42a201d704 /appveyor.yml | |
parent | ec2b52e2d9d7114df6e6023eec5949c4c6a76d52 (diff) |
mesa/program_resource: return -1 for index if no location.
The GL4.5 spec quote seems clear on this:
"The value -1 will be returned by either command if an error occurs,
if name does not identify an active variable on programInterface,
or if name identifies an active variable that does not have a valid
location assigned, as described above."
This fixes:
GL45-CTS.program_interface_query.output-built-in
[airlied: use _mesa_program_resource_location_index as
suggested by Eduardo]
Reviewed-by: Eduardo Lima Mitev <[email protected]>
Cc: "12.0" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'appveyor.yml')
0 files changed, 0 insertions, 0 deletions