mesa: relax draw api validation on ES2
authorTapani Pälli <tapani.palli@intel.com>
Tue, 30 Sep 2014 07:28:26 +0000 (10:28 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 2 Oct 2014 08:55:13 +0000 (11:55 +0300)
commitf4b4ae8c241943b8ca65e7a00f272fe23ed73727
treebfe5831d02d5d0816f5af5940e536dfcd288c601
parent3914dc579e816fbf7adef0038ab50f4660e78858
mesa: relax draw api validation on ES2

Patch fixes failing test in WebGL conformance test
'point-no-attributes' when running Chrome on OpenGL ES.
(Shader program may draw points using constant data in shader.)

No Piglit regressions.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/api_validate.c