mesa: Only validate shaders that can exist in the context
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 11 Nov 2014 12:31:22 +0000 (12:31 +0000)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 15 Jan 2015 01:09:50 +0000 (17:09 -0800)
commitd6c6b186cf308fb0de8ee4f35a5ec5570cfa989b
tree4054e0eebd3277d891ce4f418875c6f3c68af843
parent14aadbe8270845750ce0c62cf511fb5b1bcefd0f
mesa: Only validate shaders that can exist in the context

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: Difference at 95.0% confidence 0.495267% +/- 0.202063% (n=40)
64-bit: Difference at 95.0% confidence 3.57576% +/- 0.288175% (n=40)

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