khr_debug: fix invalid enum usage on gles3
commit3cb200b2278a473e55b3ad6fa17dd8babbd3d00f
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 8 Nov 2018 10:00:56 +0000 (8 11:00 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 9 Nov 2018 12:02:00 +0000 (9 13:02 +0100)
tree57794aecf56f0c543eb81df0cdada38b5c3ef073
parent65dc811aaffc09308440e0950b8b04b990afe122
khr_debug: fix invalid enum usage on gles3

GL_SAMPLES_PASSED isn't allowed on gles3, so doing a quiery with it
isn't going to work. But GL_ANY_SAMPLES_PASSED is allowed, so so let's
use that one instead on gles.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
tests/spec/khr_debug/debug-object-label.c