mesa: Do a draw time check for TES && !TCS in ES 3.x.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 2 Feb 2017 07:02:03 +0000 (23:02 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 13 Feb 2017 05:09:19 +0000 (21:09 -0800)
commit365afbdaef8f47bf8a434defcf3eed2b5bdfb4ce
tree3c259457362d5ad182d332294d310fdbca8bf4bf
parent05a56893aa2570cb1f6e61e3c9cf365266ea1d3a
mesa: Do a draw time check for TES && !TCS in ES 3.x.

ES 3.x requires both TCS and TES to be present.  We already checked
the TCS && !TES case above, so we just have to check !TCS && TES here.

Note that this is allowed in OpenGL, just not ES.

This fixes a subcase of:
dEQP-GLES31.functional.debug.negative_coverage.*.tessellation.single_tessellation_stage

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/mesa/main/api_validate.c