Bug 85352

Summary: [NVC0/Gallium] Scaling/centering issue in shadertoy shader
Product: Mesa Reporter: Ilia Mirkin <imirkin>
Component: Drivers/DRI/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Ilia Mirkin 2014-10-23 04:56:48 UTC
https://www.shadertoy.com/view/4sf3Dj

The GameCube logo should be centered. Instead of a NVC1 + 10.3 (and also -git) it appears to be centered around the upper left corner and scaled/stretched. Confirmed to work OK on i965 and radeonsi, so most likely a nouveau issue.
Comment 1 Tobias Klausmann 2014-10-23 13:27:32 UTC
I can reproduce that here. Lets see what causes this... Oh its actually you, nevertheless posting this comment now :)
Comment 2 Ilia Mirkin 2015-07-04 22:21:10 UTC
This appears to be fixed by

commit ad62ec8316a926682958e7ab52639992867c3755
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Fri Jun 26 15:01:22 2015 -0400

    nv50/ir: propagate modifier to right arg when const-folding mad

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.