teximage-errors: add TexSubImage variants

Graphics / Mesa 3D Graphics Library / Piglit - Ilia Mirkin [alum.mit.edu] - 4 September 2019 04:34 UTC

Mesa is not currently checking compatibility of format + internal format when doing a TexSubImage. This implements these checks by doing a glTexStorage followed by glTexSubImage. (The dependency on TexStorage could be avoided, but would require more changes to the test structure.)

de903f1f3 teximage-errors: add TexSubImage variants
tests/texturing/teximage-errors.c | 59 +++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)

Upstream: cgit.freedesktop.org

  • Share