Merge pull request #85194 from clayjohn/XR-pipeline-bug

Enable non-multiview advanced shader group whenever advanced shaders are requested
This commit is contained in:
Rémi Verschelde 2023-11-22 10:48:21 +01:00
commit 1faf2f5bfe
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -853,7 +853,6 @@ void SceneShaderForwardClustered::set_default_specialization_constants(const Vec
void SceneShaderForwardClustered::enable_advanced_shader_group(bool p_needs_multiview) {
if (p_needs_multiview || RendererCompositorRD::get_singleton()->is_xr_enabled()) {
shader.enable_group(SHADER_GROUP_ADVANCED_MULTIVIEW);
} else {
shader.enable_group(SHADER_GROUP_ADVANCED);
}
shader.enable_group(SHADER_GROUP_ADVANCED);
}