Browse Source

vk_reasterizer: fix mistype on SetupGraphicsImages

This should use Maxwell3D engine. Fixed some GPU error on Kirby and maybe other games.
nce_cpp
Nguyen Dac Nam 6 years ago
committed by GitHub
parent
commit
9516f0923c
  1. 2
      src/video_core/renderer_vulkan/vk_rasterizer.cpp

2
src/video_core/renderer_vulkan/vk_rasterizer.cpp

@ -848,7 +848,7 @@ void RasterizerVulkan::SetupGraphicsTextures(const ShaderEntries& entries, std::
void RasterizerVulkan::SetupGraphicsImages(const ShaderEntries& entries, std::size_t stage) { void RasterizerVulkan::SetupGraphicsImages(const ShaderEntries& entries, std::size_t stage) {
MICROPROFILE_SCOPE(Vulkan_Images); MICROPROFILE_SCOPE(Vulkan_Images);
const auto& gpu = system.GPU().KeplerCompute();
const auto& gpu = system.GPU().Maxwell3D();
for (const auto& entry : entries.images) { for (const auto& entry : entries.images) {
const auto tic = GetTextureInfo(gpu, entry, stage).tic; const auto tic = GetTextureInfo(gpu, entry, stage).tic;
SetupImage(tic, entry); SetupImage(tic, entry);

Loading…
Cancel
Save