diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-22 00:30:23 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-27 01:55:15 +0200 |
commit | c387a72c7623aa452f6ca5b067079ce354be1f6c (patch) | |
tree | 62b0b0c0c26d64356b3ffb85b3dc38a57aa9fbde /src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | |
parent | vk_device: Enable VK_EXT_extended_dynamic_state when available (diff) | |
download | yuzu-c387a72c7623aa452f6ca5b067079ce354be1f6c.tar yuzu-c387a72c7623aa452f6ca5b067079ce354be1f6c.tar.gz yuzu-c387a72c7623aa452f6ca5b067079ce354be1f6c.tar.bz2 yuzu-c387a72c7623aa452f6ca5b067079ce354be1f6c.tar.lz yuzu-c387a72c7623aa452f6ca5b067079ce354be1f6c.tar.xz yuzu-c387a72c7623aa452f6ca5b067079ce354be1f6c.tar.zst yuzu-c387a72c7623aa452f6ca5b067079ce354be1f6c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index ea66e621e..9fcb46f8a 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -312,7 +312,7 @@ VKPipelineCache::DecompileShaders(const GraphicsPipelineCacheKey& key) { const auto& gpu = system.GPU().Maxwell3D(); Specialization specialization; - if (fixed_state.rasterizer.Topology() == Maxwell::PrimitiveTopology::Points) { + if (fixed_state.dynamic_state.Topology() == Maxwell::PrimitiveTopology::Points) { float point_size; std::memcpy(&point_size, &fixed_state.rasterizer.point_size, sizeof(float)); specialization.point_size = point_size; |