summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-06-25 10:21:51 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:39 +0200
commit57a8921e01a90ff5993079dd638a6c48e5781756 (patch)
tree90c7c3b044c85f08dd5c2341c87414062be7db17 /src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
parentspirv: Fix code emission when descriptor aliasing is unsupported (diff)
downloadyuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar
yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.gz
yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.bz2
yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.lz
yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.xz
yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.zst
yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
index 6d664ed6b..3363a6877 100644
--- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
+++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
@@ -705,11 +705,12 @@ void GraphicsPipeline::MakePipeline(VkRenderPass render_pass) {
.pAttachments = cb_attachments.data(),
.blendConstants = {},
};
- static_vector<VkDynamicState, 18> dynamic_states{
+ static_vector<VkDynamicState, 19> dynamic_states{
VK_DYNAMIC_STATE_VIEWPORT, VK_DYNAMIC_STATE_SCISSOR,
VK_DYNAMIC_STATE_DEPTH_BIAS, VK_DYNAMIC_STATE_BLEND_CONSTANTS,
VK_DYNAMIC_STATE_DEPTH_BOUNDS, VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK,
VK_DYNAMIC_STATE_STENCIL_WRITE_MASK, VK_DYNAMIC_STATE_STENCIL_REFERENCE,
+ VK_DYNAMIC_STATE_LINE_WIDTH,
};
if (key.state.extended_dynamic_state) {
static constexpr std::array extended{