Commit 7b64ebbd authored by Eric Anholt's avatar Eric Anholt

glsl-uniform-update: Add to all.tests after fixing up shader paths.

parent 58d91b15
......@@ -81,6 +81,7 @@ shaders['fp-fragment-position'] = PlainExecTest([testBinDir + 'fp-fragment-posit
shaders['fp-kil'] = PlainExecTest([testBinDir + 'fp-kil', '-auto'])
shaders['fp-incomplete-tex'] = PlainExecTest([testBinDir + 'fp-incomplete-tex', '-auto'])
shaders['fp-indirections'] = PlainExecTest([testBinDir + 'fp-indirections', '-auto'])
shaders['glsl-uniform-update'] = PlainExecTest([testBinDir + 'glsl-uniform-update', '-auto'])
shaders['vp-bad-program'] = PlainExecTest([testBinDir + 'vp-bad-program', '-auto'])
fpgeneric = Group()
......
......@@ -22,6 +22,8 @@ link_libraries (
${GLEW_glew_LIBRARY}
)
add_definitions ( -DSOURCE_DIR="\\\"${piglit_SOURCE_DIR}/\\\"" )
add_executable (trinity-fp1 trinity-fp1.c)
add_executable (fp-lit-mask fp-lit-mask.c)
add_executable (fp-fog fp-fog.c)
......
......@@ -110,9 +110,9 @@ static void init()
glLoadIdentity();
vs = piglit_compile_shader(GL_VERTEX_SHADER,
"glsl-uniform-update.vert");
SOURCE_DIR "tests/shaders/glsl-uniform-update.vert");
fs = piglit_compile_shader(GL_FRAGMENT_SHADER,
"glsl-uniform-update.frag");
SOURCE_DIR "tests/shaders/glsl-uniform-update.frag");
prog = piglit_link_simple_program(vs, fs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment