[Bug 11210] New: test_arb_vs_offset_limit() vertex program error

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 15 17:22:59 CST 2008


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 at winehq.org
        ReportedBy: eric at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list