diff options
author | Alejandro Piñeiro <[email protected]> | 2017-01-12 16:09:17 -0200 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2017-01-13 08:52:14 -0200 |
commit | 84e3e12b2582f4707a837ebb960ea7ce19e1c263 (patch) | |
tree | e9bdce93e591b44ef4c729e759767b9331a25a2e /src/gallium/state_trackers | |
parent | c6eb3aeba530fe82087c1c3c06ded23cb79bc199 (diff) |
main/fbobject: throw invalid operation when get_attachment fails if needed
In most cases, if a call to get_attachment fails is because attachment
is a INVALID_ENUM. But for some specific cases, if COLOR_ATTACHMENTm
(where m >= MAX_COLOR_ATTACHMENTS) is used, it should raise an
INVALID_OPERATION exception instead.
Fixes:
GL45-CTS.direct_state_access.framebuffers_get_attachment_parameter_errors
GL45-CTS.direct_state_access.framebuffers_renderbuffer_attachment_errors
v2: extra new line before quote block. Include "color attachment" on both
new message errors (Nicolai).
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
0 files changed, 0 insertions, 0 deletions