Bug 107744

Summary: radeonsi OpenGL fails to properly render hg_timeless demo in winehq-staging
Product: Mesa Reporter: Christopher Snowhill <kode54>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTOURBUG QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: apitrace of timeless.exe running through winehq-staging

Description Christopher Snowhill 2018-08-30 00:42:12 UTC
Created attachment 141367 [details]
apitrace of timeless.exe running through winehq-staging

The following demo:

http://www.pouet.net/prod.php?which=62935

Fails to render properly on radeonsi git. There are numerous scenes with renderinng glitches. I'm attaching an apitrace, as I cannot run renderdoc on it because it's a 32 bit process. But the apitrace fails to replay without crashing apitrace on my system, for some reason.
Comment 1 Timothy Arceri 2018-08-31 02:59:50 UTC
The The demo contains a number of compiler errors.

For example:

float jl(in float c)
{
   return float(cu(int(c)))/1.07374e+09-.5;
}

jl(l.xxy*1439);

error: no matching fuction for call to 'jl(vec3)'
Comment 2 Christopher Snowhill 2018-08-31 05:17:50 UTC
I guess I can report it to the Wine developers, if you think this compiler error is occurring due to Wine translating the demo’s shaders incorrectly. I don’t know that it would be the demo’s fault, if it runs correctly on Windows, or runs correctly on NVidia proprietary drivers.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.