Browse Source

change

pull/2776/head
Ribbit 5 months ago
parent
commit
d100a73886
  1. 14
      src/video_core/renderer_vulkan/vk_rasterizer.cpp

14
src/video_core/renderer_vulkan/vk_rasterizer.cpp

@ -926,21 +926,17 @@ bool AccelerateDMA::BufferToImage(const Tegra::DMA::ImageCopy& copy_info,
}
void RasterizerVulkan::UpdateDynamicStates(DynamicStateScope scope) {
if (scope == DynamicStateScope::Blit) {
return;
}
auto& regs = maxwell3d->regs;
UpdateViewportsState(regs);
UpdateScissorsState(regs);
const bool is_blit_scope = scope == DynamicStateScope::Blit;
if (!is_blit_scope) {
UpdateDepthBias(regs);
}
UpdateDepthBias(regs);
UpdateBlendConstants(regs);
if (is_blit_scope) {
return;
}
UpdateDepthBounds(regs);
UpdateStencilFaces(regs);
UpdateLineWidth(regs);

Loading…
Cancel
Save