diff options
author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2022-10-10 21:32:38 +0200 |
---|---|---|
committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2022-10-10 21:59:57 +0200 |
commit | 4496030ea9bd873d101628a8eb943b976ec7b07a (patch) | |
tree | d26b116981aa0dd9eaec5e951976d59a63322de4 /src/video_core/renderer_vulkan/fixed_pipeline_state.cpp | |
parent | Merge pull request #9043 from german77/vector_data (diff) | |
download | yuzu-4496030ea9bd873d101628a8eb943b976ec7b07a.tar yuzu-4496030ea9bd873d101628a8eb943b976ec7b07a.tar.gz yuzu-4496030ea9bd873d101628a8eb943b976ec7b07a.tar.bz2 yuzu-4496030ea9bd873d101628a8eb943b976ec7b07a.tar.lz yuzu-4496030ea9bd873d101628a8eb943b976ec7b07a.tar.xz yuzu-4496030ea9bd873d101628a8eb943b976ec7b07a.tar.zst yuzu-4496030ea9bd873d101628a8eb943b976ec7b07a.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/fixed_pipeline_state.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/fixed_pipeline_state.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp b/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp index eb7c22fd5..eab1b8f93 100644 --- a/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp +++ b/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp @@ -63,7 +63,11 @@ void FixedPipelineState::Refresh(Tegra::Engines::Maxwell3D& maxwell3d, primitive_restart_enable.Assign(regs.primitive_restart.enabled != 0 ? 1 : 0); depth_bias_enable.Assign(enabled_lut[POLYGON_OFFSET_ENABLE_LUT[topology_index]] != 0 ? 1 : 0); depth_clamp_disabled.Assign(regs.viewport_clip_control.geometry_clip == - Maxwell::ViewportClipControl::GeometryClip::Passthrough); + Maxwell::ViewportClipControl::GeometryClip::Passthrough || + regs.viewport_clip_control.geometry_clip == + Maxwell::ViewportClipControl::GeometryClip::FrustumXYZ || + regs.viewport_clip_control.geometry_clip == + Maxwell::ViewportClipControl::GeometryClip::FrustumZ); ndc_minus_one_to_one.Assign(regs.depth_mode == Maxwell::DepthMode::MinusOneToOne ? 1 : 0); polygon_mode.Assign(PackPolygonMode(regs.polygon_mode_front)); patch_control_points_minus_one.Assign(regs.patch_vertices - 1); |