demos: Add --use_glsl option for GLSL, use SPIR-V by default.
authorCody Northrop <cody@lunarg.com>
Thu, 28 May 2015 17:27:16 +0000 (11:27 -0600)
committerCody Northrop <cody@lunarg.com>
Wed, 17 Jun 2015 20:30:24 +0000 (14:30 -0600)
commit1fedb21c1cb9470395126cbb00b6504fdd7be4a7
treec0f80eeed5849b72bfb21453d5b46944932f49f4
parent0f79c2c782b515d43b3d2e0519f71ddfef3e1607
demos: Add --use_glsl option for GLSL, use SPIR-V by default.

Previously required a define in CMake.  Since we have multiple drivers
and vendors that would like to test both, make it a command line option.
demos/CMakeLists.txt
demos/cube.c
demos/tri.c
demos/tri.frag [new file with mode: 0644]
demos/tri.vert [new file with mode: 0644]