Skip to content

arb_shader_objects: add test deleting non-existent object

Erik Faye-Lund requested to merge kusma/piglit:delete-non-existent-object into main

From the ARB_shader_objects spec:

The error INVALID_VALUE is generated by any command that takes one or more handles as input, and one or more of these handles are not an object handle generated by OpenGL.

However, Mesa's implementation of glDeleteObjectARB does not emit that error at the time of writing.

Let's add a test to make sure we don't regress this in the future.

Merge request reports

Loading