Browse Source
vk_reasterizer: fix mistype on SetupGraphicsImages
This should use Maxwell3D engine. Fixed some GPU error on Kirby and maybe other games.
pull/15/merge
Nguyen Dac Nam
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|