mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 04:56:24 +02:00
GPU: Force reinterpret off without copy image.
Also, assert we have it when using it, since there's ifs.
This commit is contained in:
1 parent
c1fa4958d9
commit
5aa3e3180f
2 files changed
+5
No files matched your search
@@ -551,6 +551,9 @@ void FramebufferManagerCommon::ReinterpretFramebuffer(VirtualFramebuffer *vfb, G
|
||||
|
||||
bool doReinterpret = PSP_CoreParameter().compat.flags().ReinterpretFramebuffers &&
|
||||
(lang == HLSL_D3D11 || lang == GLSL_VULKAN || lang == GLSL_3xx);
|
||||
// Copy image required for now.
|
||||
if (!gstate_c.Supports(GPU_SUPPORTS_COPY_IMAGE))
|
||||
doReinterpret = false;
|
||||
if (!doReinterpret) {
|
||||
// Fake reinterpret - just clear the way we always did on Vulkan. Just clear color and stencil.
|
||||
if (oldFormat == GE_FORMAT_565) {
|
||||
|
||||
Reference in new issue
Block a user