Bug 107864 - Specific Shadertoy demo renders garbage in empty parts of target surface
Summary: Specific Shadertoy demo renders garbage in empty parts of target surface
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-08 02:16 UTC by Christopher Snowhill
Modified: 2019-09-25 18:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Christopher Snowhill 2018-09-08 02:16:38 UTC
The following Shadertoy demo:

https://www.shadertoy.com/view/Xt3cWS

renders garbage in the top and bottom strips of the target surface, which appears to be uninitialized VRAM being copied to the display surface.

It does not appear to matter which WebGL capable browser I use to run the demo, they all replicate the issue on my RX480.

I cannot get apitrace to run on Firefox without that particular page crashing on load, and I cannot get RenderDoc to attach to the tab's process and actually capture anything.
Comment 1 Ilia Mirkin 2018-09-08 03:46:08 UTC
Adding

 else {
        fragColor = vec4(0);   
 }

at the bottom of mainImage appears to "fix" it. fragColor is otherwise ending up with random values (effectively whatever happened to be in the registers, probably left over from the division check).

I don't think this is a bug in mesa.
Comment 2 GitLab Migration User 2019-09-25 18:09:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1327.


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.