We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 11 - (rendering method: Mobile)
When I check "Disable Receive Shadows" in the material settings, the following error occurs during shader compilation:
` servers/rendering/renderer_rd/forward_mobile/scene_shader_forward_mobile.cpp:193 - Condition "!shader_singleton->shader.version_is_valid(version)" is true. servers/rendering/renderer_rd/shader_rd.cpp:300 - Error compiling Fragment shader, variant #0 (). servers/rendering/renderer_rd/shader_rd.cpp:301 - Failed parse: WARNING: 0:79: '' : all default precisions are highp; use precision statements to quiet warning, e.g.: "precision mediump int; precision highp float;" ERROR: 0:2519: 'i' : undeclared identifier ERROR: 0:2519: '' : missing #endif ERROR: 0:2519: '' : compilation terminated ERROR: 3 compilation errors. No code generated.
`
receiveshadowsbug.zip
The text was updated successfully, but these errors were encountered:
Confirmed on 4.4.dev3. Can't reproduce on 4.4.dev2.
Sorry, something went wrong.
Bisecting points to #83360 as the culprit, @ywmaa
Does this issue happen with Vulkan mobile only ?
Tested rn and seems to affect only vulkan mobile.
XR_FB_android_surface_swapchain_create
Successfully merging a pull request may close this issue.
Tested versions
System information
Windows 11 - (rendering method: Mobile)
Issue description
When I check "Disable Receive Shadows" in the material settings, the following error occurs during shader compilation:
` servers/rendering/renderer_rd/forward_mobile/scene_shader_forward_mobile.cpp:193 - Condition "!shader_singleton->shader.version_is_valid(version)" is true.
servers/rendering/renderer_rd/shader_rd.cpp:300 - Error compiling Fragment shader, variant #0 ().
servers/rendering/renderer_rd/shader_rd.cpp:301 - Failed parse:
WARNING: 0:79: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
"precision mediump int; precision highp float;"
ERROR: 0:2519: 'i' : undeclared identifier
ERROR: 0:2519: '' : missing #endif
ERROR: 0:2519: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
`
Steps to reproduce
Minimal reproduction project (MRP)
receiveshadowsbug.zip
The text was updated successfully, but these errors were encountered: