yuzu-emu
/
yuzu
Archived
1
0
Fork 0

vk_reasterizer: fix mistype on SetupGraphicsImages

This should use Maxwell3D engine. Fixed some GPU error on Kirby and maybe other games.
This commit is contained in:
Nguyen Dac Nam 2020-03-08 10:06:59 +07:00 committed by GitHub
parent 662feb8c1c
commit 16cfbb068c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);