shader-compiler-bugs
shader-compiler-bugs copied to clipboard
Produces a (presumably) transparent image
[Shaders, screenshots, error log, reproduction steps, etc.] [ZIP]
There are two dead-code injections, one with an unreachable return and a variable declaration (the type and value of the variable don't seem to matter) and one with a discard statement. AMD form report to follow.
AMD Report Form ("n/a" means not filled):
Graphics Card Model: Radeon R9 Fury X
Graphics Card Part Number: n/a
AMD Radeon Software Driver Version: AMD Radeon Software Crimson Edition 16.9.2
Driver History: Do Not Know
Operating System: Windows 10 64-bit
Type of Issue: Other
Crossfire Configuration: No
Using Mantle: No
Other Games/Applications: OpenGL
Describe the Issue and Steps to replicate: We used a custom-written OpenGL launcher (pre-compiled binaries available for download at [1]). [2] contains a fragment shader which yields the expected image ("original.frag") and a fragment shader which produces the incorrect output ("variant.frag").
Command-line usage:
./get_image variant.frag --persist
[1] https://github.com/paulthomson/get-image/releases/tag/v-feb357fccce0694585b02484defc825778733751
[2] https://github.com/mc-imperial/shader-compiler-bugs/issues/7
CPU Details: Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz, 3701 Mhz, 4 Core(s), 8 Logical Processor(s)
Display Devices and Connections used: Dell S2009W on HDMI
Motherboard or System Make & Model: n/a
Motherboard BIOS version: n/a
System Memory Type & Amount: 32GB
Power Supply Wattage: n/a
Issue persists with Radeon version 17.6.2.
AMD reported by email that they were investigating the issue, and say that they have now found the issue and are looking at getting a fix out.