diff options
author | Ilia Mirkin <[email protected]> | 2017-01-24 00:26:29 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2017-01-31 22:12:57 -0500 |
commit | 62b8f494fac377c88bf2bb0eff67cdf4db37da42 (patch) | |
tree | dcd1109750c2db9945c8ad0f6605266bcb3769be /src/mesa/math | |
parent | 92128590bc78bcbbfb19144c7004b31d6405bbcb (diff) |
mesa: use same is_color_attachment trick to discern error cases
All the other calls to retrieve the attachment have been covered except
this one - return the proper error for attachment points that are valid
enums but out of bound for the driver.
Fixes GL45-CTS.geometry_shader.layered_fbo.fb_texture_invalid_attachment
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/math')
0 files changed, 0 insertions, 0 deletions