Re: [Piglit] [PATCH] arb_texture_stencil8: test updating just stencil of a z32f_s8 texture

2019-09-02 Thread Ilia Mirkin
Dave points out that this is actually illegal. I managed to merge the addition of GL_STENCIL_INDEX as a valid token to glTexSubImage and the allowance of this for glGetTexImage as one thing. Test withdrawn. Will try to submit something which tests that the behavior yields a GL error. On Tue, Aug 2

[Piglit] [PATCH] teximage-errors: add TexSubImage variants

2019-09-02 Thread Ilia Mirkin
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.) Signed-off-by: I