http://bugs.winehq.org/show_bug.cgi?id=11210
Summary: test_arb_vs_offset_limit() vertex program error Product: Wine Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: eric@anholt.net
While test_arb_vs_offset_limit() appears to intend to test the limits of constant offsets from an address register, it also (I think) unintentionally tests whether ARL accepts a floating point constant as the source value, which is outside of the spec. Excerpts from ARB_vertex_program spec:
<ARL_instruction> ::= "ARL" <maskedAddrReg> "," <scalarSrcReg> <scalarSrcReg> ::= <optionalSign> <srcReg> <scalarSuffix> <srcReg> ::= <vertexAttribReg> | <temporaryReg> | <progParamReg> <scalarSuffix> ::= "." <component> <component> ::= "x" | "y" | "z" | "w"
While it may be that Mesa should also allow constants as ARL arguments, the program should probably be fixed to test only the intended out-of-spec behavior.