summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/fixed_pipeline_state.h
diff options
context:
space:
mode:
authorCJBok <cjbok@ziggo.nl>2020-01-12 23:21:30 +0100
committerCJBok <cjbok@ziggo.nl>2020-01-12 23:21:30 +0100
commit83be9fc96dbc44e82e35fbae44a6011fe5ad5c74 (patch)
treee0cd88c6d16d3cf7e111d487e52a9e75c4eeabc4 /src/video_core/renderer_vulkan/fixed_pipeline_state.h
parenthid: Fix analog sticks directional states (diff)
parentMerge pull request #3283 from ReinUsesLisp/vk-compute-pass (diff)
downloadyuzu-83be9fc96dbc44e82e35fbae44a6011fe5ad5c74.tar
yuzu-83be9fc96dbc44e82e35fbae44a6011fe5ad5c74.tar.gz
yuzu-83be9fc96dbc44e82e35fbae44a6011fe5ad5c74.tar.bz2
yuzu-83be9fc96dbc44e82e35fbae44a6011fe5ad5c74.tar.lz
yuzu-83be9fc96dbc44e82e35fbae44a6011fe5ad5c74.tar.xz
yuzu-83be9fc96dbc44e82e35fbae44a6011fe5ad5c74.tar.zst
yuzu-83be9fc96dbc44e82e35fbae44a6011fe5ad5c74.zip
Diffstat (limited to 'src/video_core/renderer_vulkan/fixed_pipeline_state.h')
-rw-r--r--src/video_core/renderer_vulkan/fixed_pipeline_state.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/video_core/renderer_vulkan/fixed_pipeline_state.h b/src/video_core/renderer_vulkan/fixed_pipeline_state.h
index 04152c0d4..87056ef37 100644
--- a/src/video_core/renderer_vulkan/fixed_pipeline_state.h
+++ b/src/video_core/renderer_vulkan/fixed_pipeline_state.h
@@ -170,15 +170,17 @@ struct FixedPipelineState {
};
struct Rasterizer {
- constexpr Rasterizer(bool cull_enable, bool depth_bias_enable, bool ndc_minus_one_to_one,
- Maxwell::Cull::CullFace cull_face, Maxwell::Cull::FrontFace front_face)
+ constexpr Rasterizer(bool cull_enable, bool depth_bias_enable, bool depth_clamp_enable,
+ bool ndc_minus_one_to_one, Maxwell::Cull::CullFace cull_face,
+ Maxwell::Cull::FrontFace front_face)
: cull_enable{cull_enable}, depth_bias_enable{depth_bias_enable},
- ndc_minus_one_to_one{ndc_minus_one_to_one}, cull_face{cull_face}, front_face{
- front_face} {}
+ depth_clamp_enable{depth_clamp_enable}, ndc_minus_one_to_one{ndc_minus_one_to_one},
+ cull_face{cull_face}, front_face{front_face} {}
Rasterizer() = default;
bool cull_enable;
bool depth_bias_enable;
+ bool depth_clamp_enable;
bool ndc_minus_one_to_one;
Maxwell::Cull::CullFace cull_face;
Maxwell::Cull::FrontFace front_face;