mesa: Only check for a current vertex shader in core profile
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 11 Nov 2014 11:28:28 +0000 (11:28 +0000)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 15 Jan 2015 01:09:50 +0000 (17:09 -0800)
commita4aeb534ea8a21770b28cdf1f66cff4afe123009
treee053360c82660e86c92d46ae6dba35d7c3799d3f
parentd6c6b186cf308fb0de8ee4f35a5ec5570cfa989b
mesa: Only check for a current vertex shader in core profile

This doesn't affect performance, but it feels more correct.

On Bay Trail-D using Fedora 20 compile flags (-m64 -O2 -mtune=generic
for 64-bit and -m32 -march=i686 -mtune=atom for 32-bit), affects
Gl32Batch7:

32-bit: No difference proven at 95.0% confidence (n=120)
64-bit: No difference proven at 95.0% confidence (n=120)

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/api_validate.c