mesa: change dsa texture error codes for GL 4.6
authorDave Airlie <airlied@redhat.com>
Tue, 14 Jul 2020 03:15:36 +0000 (13:15 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 16 Jul 2020 01:35:30 +0000 (11:35 +1000)
commit854dbea5671033e6c4eca2ab73db52851633fcdd
treeb0d42d04275dea2c0b672b0b1e96c21b012cd2e3
parent34a03109b8e740083d145fcd539b92bf55c215cb
mesa: change dsa texture error codes for GL 4.6

GL 4.6 changed error code for when the effective target of the
texture is illegal. Since it's not an illegal enum they modified
it to be an illegal operation.

However the CTS test for this is missing support for two cases,
I'm chasing that up, but I expect this will cause a CTS regression
for anyone who runs this test. I'm leaning on the side of being
compliant rather than passing the test until the test is fixed.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5896>
src/mesa/main/texparam.c