Commit aec48cff authored by Eric Anholt's avatar Eric Anholt

Use common file for gl_Position = MVP * gl_Vertex shader.

parent 7ec8eb12
......@@ -74,7 +74,7 @@ piglit_init(int argc, char **argv)
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
vs = piglit_compile_shader(GL_VERTEX_SHADER,
SOURCE_DIR "tests/shaders/glsl-fs-exp2.vert");
SOURCE_DIR "tests/shaders/glsl-mvp.vert");
fs = piglit_compile_shader(GL_FRAGMENT_SHADER,
SOURCE_DIR "tests/shaders/glsl-fs-exp2.frag");
......
......@@ -80,7 +80,7 @@ piglit_init(int argc, char **argv)
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
vs = piglit_compile_shader(GL_VERTEX_SHADER,
SOURCE_DIR "tests/shaders/glsl-fs-fragcoord.vert");
SOURCE_DIR "tests/shaders/glsl-mvp.vert");
fs = piglit_compile_shader(GL_FRAGMENT_SHADER,
SOURCE_DIR "tests/shaders/glsl-fs-fragcoord.frag");
......
void main()
{
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
}
......@@ -74,7 +74,7 @@ piglit_init(int argc, char **argv)
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
vs = piglit_compile_shader(GL_VERTEX_SHADER,
SOURCE_DIR "tests/shaders/glsl-fs-log2.vert");
SOURCE_DIR "tests/shaders/glsl-mvp.vert");
fs = piglit_compile_shader(GL_FRAGMENT_SHADER,
SOURCE_DIR "tests/shaders/glsl-fs-log2.frag");
......
void main()
{
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
}
......@@ -81,7 +81,7 @@ piglit_init(int argc, char **argv)
piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
vs = piglit_compile_shader(GL_VERTEX_SHADER,
SOURCE_DIR "tests/shaders/glsl-uniform-update.vert");
SOURCE_DIR "tests/shaders/glsl-mvp.vert");
fs = piglit_compile_shader(GL_FRAGMENT_SHADER,
SOURCE_DIR "tests/shaders/glsl-uniform-update.frag");
......
void main()
{
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
}
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