layers: ShaderChecker can attempt calls on errors
authorMike Stroyan <mike@LunarG.com>
Thu, 10 Sep 2015 20:12:01 +0000 (14:12 -0600)
committerMike Stroyan <mike@LunarG.com>
Tue, 22 Sep 2015 15:37:06 +0000 (09:37 -0600)
commit5fdac0e56cfa60705e240316e6536d6ce24ca0f3
tree9b337d18905e9a3c14883a277078ddaa803b15b1
parent98e92ae90aea81530fac9508f06e5beb61bf8b91
layers: ShaderChecker can attempt calls on errors

Some errors are non-lethal.  Make calls after finding errors.
Allow attempts to read an unwritten output
or to use a fragment shader that will not write all outputs.
Just make the error callback and continue with that API call unless
the boolean callback result is true, indicating the call should be prevented.
layers/shader_checker.cpp