[Bug 29146] New: EVE online: some models are missing

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 22 16:17:05 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=29146

             Bug #: 29146
           Summary: EVE online: some models are missing
           Product: Wine
           Version: 1.3.33
          Platform: x86
               URL: http://content.eveonline.com/EVE_Premium_Setup_306979.
                    exe
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: directx-d3d
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: pavel.ondracka at gmail.com
    Classification: Unclassified


Created attachment 37586
  --> http://bugs.winehq.org/attachment.cgi?id=37586
terminal output

When playing eve some ship models are not rendered at all and some are
misrendered. this is with ATI Radeon X1600 (RV530) GPU and mesa drivers (latest
git). At first I blamed mesa (because NVIDIA 9600GSO with closed drivers works
fine), however according to developers the generated shaders are invalid:

-------------------------------------------------------------------
Ian Romanick 2011-11-22 11:36:50 PST

The shader declares the array VC to have 245 elements:

uniform vec4 VC[245];

then it tries to access the 246th element of the array:

R0.xyz = (VC[245].xyz);

This is explicitly forbidden by GLSL, and it should be rejected by any GLSL
compiler.  Page 31 of the GLSL 1.30 spec says:

    "It is illegal to declare an array with a size, and then
    later (in the same shader) index the same array with an
    integral constant expression greater than or equal to the
    declared size."

I tried this same shader with AMD's closed-source driver and piglits glslparser
test, and it failed to compile there as well:

Failed to compile vertex shader wine-from-eve.vert: Vertex shader failed to
compile with the following errors:
ERROR: 0:84: error(#147) '[' array index out of range '245'
ERROR: 0:91: error(#147) '[' array index out of range '245'
ERROR: 0:93: error(#147) '[' array index out of range '245'
ERROR: error(#273) 3 compilation errors.  No code generated 
---------------------------------------------------------------


Terminal output attached.

More info in: https://bugs.freedesktop.org/show_bug.cgi?id=42514

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list