Fix 2D texture image functions not returning GL_INVALID_ENUM with target == GL_TEXTURE_3D
In particular, many of these would produce an UNREACHABLE assert in libGLESv2, such as glCopyTexSubImage2D.
Bug: b/116827965
Change-Id: I719ff20b7452d0b933b8e4120abe831783844342
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/29048
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
Tested-by:
Antonio Maiorano <amaiorano@google.com>
Showing
Please
register
or
sign in
to comment