Skip to contentSkip to conversation

New: [r300g, bisected] piglit glsl-fs-discard-02 fails

Bug 46004 [email protected] 1 participant 8 messages Feb 13, 2012 – Feb 23, 2012

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=46004

Bug #: 46004
Summary: [r300g, bisected] piglit glsl-fs-discard-02 fails
Classification: Unclassified
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Keywords: regression
Severity: normal
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]

Piglit glsl-fs-discard-02 fails with r300g since:

10937e651222501c0e9f4f44e6b842c261e2edfb is the first bad commit commit 10937e651222501c0e9f4f44e6b842c261e2edfb

Author: Vincent Lejeune <[email protected]>
Date:   Mon Jan 2 20:17:38 2012 +0100

glsl_to_tgsi: Use the GLSL compiler's new remove-output-reads pass.

The existing glsl_to_tgsi::remove_output_read pass did not work properly when indirect addressing was involved; this commit replaces it with a lowering pass that occurs before TGSI code generation.

Fixes varying-array related piglit tests.

GPU: RV530
Mesa: df1cd55ebf362948788c04d2fa7da55c80991605
Kernel: 3.2.3
Libdrm: 2.4.31

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 46004] [r300g, bisected] piglit glsl-fs-discard-02 fails

https://bugs.freedesktop.org/show_bug.cgi?id=46004

--- Comment #1 from vincent <[email protected]> 2012-02-13 12:03:38 PST --- Hi,

could you please provide the error output for this test, and the generated opcodes using RADEON_DEBUG=fp,vp envar ?

RADEON_DEBUG /path/to/piglit/bin/glsl-fs-discard-02

Regards,
Vincent

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 46004] [r300g, bisected] piglit glsl-fs-discard-02 fails

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=46004

--- Comment #2 from Pavel Ondračka <[email protected]> 2012-02-13 12:16:22 PST --- Created attachment 56987
--> https://bugs.freedesktop.org/attachment.cgi?id=56987
RADEON_DEBUG=fp,vp log

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 46004] [r300g, bisected] piglit glsl-fs-discard-02 fails

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=46004

--- Comment #3 from Tom Stellard <[email protected]> 2012-02-13 18:44:05 UTC --- Created attachment 57003
--> https://bugs.freedesktop.org/attachment.cgi?id=57003
Possible fix

Can you try this patch? If it doesn't work can you get the debug output (RADEON_DEBUG=fp,vp) from when the test was passing?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 46004] [r300g, bisected] piglit glsl-fs-discard-02 fails

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=46004

--- Comment #4 from Pavel Ondračka <[email protected]> 2012-02-14 00:36:35 PST --- Created attachment 57014
--> https://bugs.freedesktop.org/attachment.cgi?id=57014
RADEON_DEBUG=fp,vp log (piglit pass)

The patch doesn't help. Attaching a new log with 6d4b35c03619148cde89bc5eedaac3288001edd3 (right before the regression).

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 46004] [r300g, bisected] piglit glsl-fs-discard-02 fails

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=46004

--- Comment #5 from Tom Stellard <[email protected]> 2012-02-14 19:38:21 PST --- I'm guessing that this is a bug in the vertex shader. Does running with RADEON_NO_TCL=1 fix it?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 46004] [r300g, bisected] piglit glsl-fs-discard-02 fails

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=46004

--- Comment #6 from Pavel Ondračka <[email protected]> 2012-02-15 00:12:15 UTC --- (In reply to comment #5)

Quoted 1 line

I'm guessing that this is a bug in the vertex shader. Does running with RADEON_NO_TCL=1 fix it?

Yes, the test pass with RADEON_NO_TCL=1 set.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 46004] [r300g, bisected] piglit glsl-fs-discard-02 fails

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=46004

vincent <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |NEEDINFO
         AssignedTo|[email protected] |[email protected]
                   |.org                        |

--- Comment #7 from vincent <[email protected]> 2012-02-23 00:26:52 PST --- Created attachment 57507
--> https://bugs.freedesktop.org/attachment.cgi?id=57507
Output remove less aggressive patch

Can you try this patch ?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.