Commit b8c61319 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Fix a syntax error in the ARB vertex program offset shader.

As some Mesa developers pointed out, the GL_ARB_vertex_program grammar does not allow an immediate value as source argument in ARL. Most compilers accept it, but since it is not the purpose of the test program to test for this replace it with a proper constant.
parent c2d97b23
......@@ -426,7 +426,8 @@ static inline BOOL test_arb_vs_offset_limit(WineD3D_GL_Info *gl_info) {
"!!ARBvp1.0\n"
"PARAM C[66] = { program.env[0..65] };\n"
"ADDRESS A0;"
"ARL A0.x, 0.0;\n"
"PARAM zero = {0.0, 0.0, 0.0, 0.0};\n"
"ARL A0.x, zero.x;\n"
"MOV result.position, C[A0.x + 65];\n"
"END\n";
......
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