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.
This commit is contained in:
parent
c2d97b2329
commit
b8c613196d
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue