Browse Source

[vulkan, sgsr] Added missing stage bit

lizzie/sgsr
CamilleLaVey 1 week ago
parent
commit
a1c34f128b
  1. 2
      src/video_core/renderer_vulkan/present/sgsr.cpp

2
src/video_core/renderer_vulkan/present/sgsr.cpp

@ -49,7 +49,7 @@ SGSR::SGSR(const Device& device, MemoryAllocator& memory_allocator, size_t image
images.descriptor_sets = CreateWrappedDescriptorSets(m_descriptor_pool, layouts); images.descriptor_sets = CreateWrappedDescriptorSets(m_descriptor_pool, layouts);
const VkPushConstantRange range{ const VkPushConstantRange range{
.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT,
.stageFlags = VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT,
.offset = 0, .offset = 0,
.size = sizeof(PushConstants), .size = sizeof(PushConstants),
}; };

Loading…
Cancel
Save