summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/fixed_pipeline_state.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-11-26 20:49:20 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-11-26 21:52:26 +0100
commit2ccf85a9103afbb4dc227e481bb0e3a7360e833b (patch)
treec5f6f65bdf56a35560a105fbe18a7ea673ae450d /src/video_core/renderer_vulkan/fixed_pipeline_state.h
parentMerge pull request #4975 from comex/invalid-syncpoint-id (diff)
downloadyuzu-2ccf85a9103afbb4dc227e481bb0e3a7360e833b.tar
yuzu-2ccf85a9103afbb4dc227e481bb0e3a7360e833b.tar.gz
yuzu-2ccf85a9103afbb4dc227e481bb0e3a7360e833b.tar.bz2
yuzu-2ccf85a9103afbb4dc227e481bb0e3a7360e833b.tar.lz
yuzu-2ccf85a9103afbb4dc227e481bb0e3a7360e833b.tar.xz
yuzu-2ccf85a9103afbb4dc227e481bb0e3a7360e833b.tar.zst
yuzu-2ccf85a9103afbb4dc227e481bb0e3a7360e833b.zip
Diffstat (limited to 'src/video_core/renderer_vulkan/fixed_pipeline_state.h')
-rw-r--r--src/video_core/renderer_vulkan/fixed_pipeline_state.h8
1 files changed, 4 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 42480e8d0..c26b77790 100644
--- a/src/video_core/renderer_vulkan/fixed_pipeline_state.h
+++ b/src/video_core/renderer_vulkan/fixed_pipeline_state.h
@@ -171,7 +171,7 @@ struct FixedPipelineState {
};
union {
- u32 raw;
+ u32 raw1;
BitField<0, 1, u32> no_extended_dynamic_state;
BitField<2, 1, u32> primitive_restart_enable;
BitField<3, 1, u32> depth_bias_enable;
@@ -187,13 +187,13 @@ struct FixedPipelineState {
BitField<23, 1, u32> rasterize_enable;
BitField<24, 4, Maxwell::PrimitiveTopology> topology;
};
-
- u32 alpha_test_ref; ///< Alpha test reference value
union {
- u32 alpha_raw;
+ u32 raw2;
BitField<0, 3, u32> alpha_test_func;
+ BitField<3, 1, u32> early_z;
};
+ u32 alpha_test_ref;
u32 point_size;
std::array<u32, Maxwell::NumVertexArrays> binding_divisors;
std::array<VertexAttribute, Maxwell::NumVertexAttributes> attributes;