[PR #3489] [MERGED] sampler: Fix custom border color fallback condition. #3511

Closed
opened 2026-02-27 22:03:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3489
Author: @squidbus
Created: 8/31/2025
Status: Merged
Merged: 8/31/2025
Merged by: @squidbus

Base: mainHead: fix-border


📝 Commits (1)

  • ef291da sampler: Fix custom border color fallback condition.

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 src/video_core/texture_cache/sampler.cpp (+2 -1)

📄 Description

Condition was always warning and forcing border color to black when custom border color is not supported, even if the border color was not custom.

One example of something this fixes is black borders around the moving graphics in the initial screens of LittleBigPlanet 3, when the Vulkan driver does not support custom border colors.


🔄 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/3489 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 8/31/2025 **Status:** ✅ Merged **Merged:** 8/31/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `fix-border` --- ### 📝 Commits (1) - [`ef291da`](https://github.com/shadps4-emu/shadPS4/commit/ef291dac5f9ccfd1ec5e03b8f24bd289a850eddb) sampler: Fix custom border color fallback condition. ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/video_core/texture_cache/sampler.cpp` (+2 -1) </details> ### 📄 Description Condition was always warning and forcing border color to black when custom border color is not supported, even if the border color was not custom. One example of something this fixes is black borders around the moving graphics in the initial screens of LittleBigPlanet 3, when the Vulkan driver does not support custom border colors. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:57 +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#3511
No description provided.