mesa: added nopfrag/nopvert options for MESA_GLSL
authorBrian Paul <brianp@vmware.com>
Tue, 29 Sep 2009 16:22:32 +0000 (10:22 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 29 Sep 2009 16:38:02 +0000 (10:38 -0600)
commitcb0de06301cd086a02ca709917819119dc1a8fd9
treea77293a5b5b52faf2b297643d2dc5b6590b69d88
parentc7aee65bb96df3f8e8421b5125dca84c028e9073
mesa: added nopfrag/nopvert options for MESA_GLSL

These options can be used to force vertex/fragment shaders to be no-op
shaders (actually, simple pass-through shaders).  For debug/test purposes.
src/mesa/main/mtypes.h
src/mesa/shader/shader_api.c
src/mesa/shader/slang/slang_compile.c