1
0
Fork 1
forked from suyu/suyu

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

View file

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