[PR #1693] [MERGED] image_view: Add more BGRA storage format swizzles. #2251

Closed
opened 2026-02-27 21:15:45 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1693
Author: @squidbus
Created: 12/8/2024
Status: Merged
Merged: 12/8/2024
Merged by: @georgemoralis

Base: mainHead: swizzle-bgra


📝 Commits (1)

  • 3adcde6 image_view: Add more BGRA storage format swizzles.

📊 Changes

2 files changed (+19 additions, -7 deletions)

View changed files

📝 src/video_core/renderer_vulkan/vk_instance.cpp (+3 -2)
📝 src/video_core/texture_cache/image_view.cpp (+16 -5)

📄 Description

Adds more BGRA formats for emulating storage image swizzles.

Fixes inverted colors in CUSA28193 (SONIC FRONTIERS).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/1693 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 12/8/2024 **Status:** ✅ Merged **Merged:** 12/8/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `swizzle-bgra` --- ### 📝 Commits (1) - [`3adcde6`](https://github.com/shadps4-emu/shadPS4/commit/3adcde6b9f4d5e1acb629b22aae94546e25841a4) image_view: Add more BGRA storage format swizzles. ### 📊 Changes **2 files changed** (+19 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/video_core/renderer_vulkan/vk_instance.cpp` (+3 -2) 📝 `src/video_core/texture_cache/image_view.cpp` (+16 -5) </details> ### 📄 Description Adds more BGRA formats for emulating storage image swizzles. Fixes inverted colors in CUSA28193 (SONIC FRONTIERS). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:15:45 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2251
No description provided.