Re: [Piglit] [PATCH] DSA: fix incorrect errors expected for BindTextureUnit()

2015-04-27 Thread Fredrik Höglund
On Friday 24 April 2015, Arthur Huillet wrote: > From: Arthur Huillet > > Updated BindTextureUnit() to match the OpenGL specification: > GL_INVALID_OPERATION > is expected when the texture object doesn't exist, not GL_INVALID_ENUM. > When the texture unit doesn't exist, the specification doesn't

[Piglit] [PATCH] DSA: fix incorrect errors expected for BindTextureUnit()

2015-04-24 Thread Arthur Huillet
From: Arthur Huillet Updated BindTextureUnit() to match the OpenGL specification: GL_INVALID_OPERATION is expected when the texture object doesn't exist, not GL_INVALID_ENUM. When the texture unit doesn't exist, the specification doesn't strictly speaking define the error, and although BindTextu