diff options
author | ameerj <aj662@drexel.edu> | 2020-11-19 02:08:51 +0100 |
---|---|---|
committer | ameerj <aj662@drexel.edu> | 2020-11-25 04:46:45 +0100 |
commit | 9014861858295489cf597322801b37dad9aaf2ce (patch) | |
tree | f4c13f9d2705b9ad1015a919e7d071e6ce1bf99a /src/video_core/renderer_vulkan/fixed_pipeline_state.cpp | |
parent | Merge pull request #4905 from german77/AnalogFromButton (diff) | |
download | yuzu-9014861858295489cf597322801b37dad9aaf2ce.tar yuzu-9014861858295489cf597322801b37dad9aaf2ce.tar.gz yuzu-9014861858295489cf597322801b37dad9aaf2ce.tar.bz2 yuzu-9014861858295489cf597322801b37dad9aaf2ce.tar.lz yuzu-9014861858295489cf597322801b37dad9aaf2ce.tar.xz yuzu-9014861858295489cf597322801b37dad9aaf2ce.tar.zst yuzu-9014861858295489cf597322801b37dad9aaf2ce.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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp b/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp index da5c550ea..1b9611c59 100644 --- a/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp +++ b/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp @@ -60,6 +60,11 @@ void FixedPipelineState::Fill(const Maxwell& regs, bool has_extended_dynamic_sta rasterize_enable.Assign(regs.rasterize_enable != 0 ? 1 : 0); topology.Assign(regs.draw.topology); + alpha_raw = 0; + alpha_test_enabled.Assign(regs.alpha_test_enabled); + alpha_test_func.Assign(PackComparisonOp(regs.alpha_test_func)); + std::memcpy(&alpha_test_ref, ®s.alpha_test_ref, sizeof(u32)); // TODO: C++20 std::bit_cast + std::memcpy(&point_size, ®s.point_size, sizeof(point_size)); // TODO: C++20 std::bit_cast for (std::size_t index = 0; index < Maxwell::NumVertexArrays; ++index) { |