https://bugs.freedesktop.org/show_bug.cgi?id=109608
Bug ID: 109608 Summary: Regression from llvm-6: llvm-7 replaces 'undef' with 'NaN', and generates NaN at the assembler level - This issue generates black screen on some fragment shaders. Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: patrick9876@free.fr QA Contact: dri-devel@lists.freedesktop.org
The issue is not related to mesa itself but at the LLVM optimization stage: LLVMRunPassManager(). This bug report is mostly for tracking purposes.
Here are two fragment shaders affected: https://www.shadertoy.com/view/ltl3WS and https://www.shadertoy.com/view/MdVcRd
Here is the LLVM bug report: https://bugs.llvm.org/show_bug.cgi?id=40690