mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 17:29:06 +02:00
Add the necessary logic to use in-shader CLUT lookups for regular textures
This commit is contained in:
1 parent
4f925fa5f2
commit
87cc608df1
7 files changed
+52
-15
No files matched your search
@@ -958,7 +958,7 @@ void TextureCacheVulkan::LoadVulkanTextureLevel(TexCacheEntry &entry, uint8_t *w
|
||||
if (!gstate_c.Use(GPU_USE_16BIT_FORMATS) || scaleFactor > 1 || dstFmt == VULKAN_8888_FORMAT) {
|
||||
texDecFlags |= TexDecodeFlags::EXPAND32;
|
||||
}
|
||||
if (entry.status & TexStatus::CLUT_GPU) {
|
||||
if (entry.status & TexStatus::CLUT8_INDEXED) {
|
||||
texDecFlags |= TexDecodeFlags::TO_CLUT8;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user