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:
commit
1faf2f5bfe
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue