mesa/main: fixup requirements for GL_PRIMITIVES_GENERATED
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 26 Nov 2018 19:36:04 +0000 (20:36 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 26 Nov 2018 21:12:07 +0000 (22:12 +0100)
commitd6d35d87f1ae8711ddfe6b9c4b5e532617b21054
treeca51c7f85a258dc0a26978964ab7516c1280cc5d
parentc120dbfe4d18240315ecec9b43a61aeb9ab239ac
mesa/main: fixup requirements for GL_PRIMITIVES_GENERATED

This enum is also allowed by EXT_tessellation_shader, which is supported
on older i965 HW (as opposed to OES_geometry_shader). This was missed
when narrowing this code-path, leading to dEQP regressions.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108868
Fixes: f09d94fbd11 "mesa/main: fix validation of transform-feedback queries"
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Mark Janes <mark.a.janes@intel.com>
src/mesa/main/queryobj.c