Files
UnrealEngineUWP/Engine/Source/Developer/ShaderFormatOpenGL
florian penzkofer 9dfb5d6f9c This fixes shader OpenGL ES shader link errors that prevent pretty much any project that use GL to work.
The option bPreserveStorageInput of current version of SPIRV-Tools does not work as it used to and unused fragment shader inputs are now stripped by RemoveUnusedInterfaceVariablesPass.
This fix does not address this but instead disables the input location remapping of OpenGLShaderCompiler for fragment shaders so that even when inputs are stripped, the remaining inputs still have their original location indices that match the vertex shader outputs.
#rb carl.lloyd
[FYI] Laura.Hermanns

[CL 32974465 by florian penzkofer in ue5-main branch]
2024-04-15 14:10:18 -04:00
..