[PR #2502] [CLOSED] host_shaders: Simplifying a calculation #2785

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2502
Author: @Xphalnos
Created: 2/22/2025
Status: Closed

Base: mainHead: patch-1


📝 Commits (1)

  • ad72349 host_shaders: Simplifying a calculation

📊 Changes

9 files changed (+28 additions, -28 deletions)

View changed files

📝 src/video_core/host_shaders/detilers/display_micro_64bpp.comp (+4 -4)
📝 src/video_core/host_shaders/detilers/macro_32bpp.comp (+4 -4)
📝 src/video_core/host_shaders/detilers/macro_64bpp.comp (+5 -5)
📝 src/video_core/host_shaders/detilers/macro_8bpp.comp (+4 -4)
📝 src/video_core/host_shaders/detilers/micro_128bpp.comp (+4 -4)
📝 src/video_core/host_shaders/detilers/micro_16bpp.comp (+1 -1)
📝 src/video_core/host_shaders/detilers/micro_32bpp.comp (+2 -2)
📝 src/video_core/host_shaders/detilers/micro_64bpp.comp (+3 -3)
📝 src/video_core/host_shaders/post_process.frag (+1 -1)

📄 Description

Micro optimization of a calculation. Is there a reason for doing this or is it an oversight?

PS: I also removed some trailing whitespaces


🔄 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/2502 **Author:** [@Xphalnos](https://github.com/Xphalnos) **Created:** 2/22/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`ad72349`](https://github.com/shadps4-emu/shadPS4/commit/ad723492d0352119723158844c819ea189fc34e3) host_shaders: Simplifying a calculation ### 📊 Changes **9 files changed** (+28 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `src/video_core/host_shaders/detilers/display_micro_64bpp.comp` (+4 -4) 📝 `src/video_core/host_shaders/detilers/macro_32bpp.comp` (+4 -4) 📝 `src/video_core/host_shaders/detilers/macro_64bpp.comp` (+5 -5) 📝 `src/video_core/host_shaders/detilers/macro_8bpp.comp` (+4 -4) 📝 `src/video_core/host_shaders/detilers/micro_128bpp.comp` (+4 -4) 📝 `src/video_core/host_shaders/detilers/micro_16bpp.comp` (+1 -1) 📝 `src/video_core/host_shaders/detilers/micro_32bpp.comp` (+2 -2) 📝 `src/video_core/host_shaders/detilers/micro_64bpp.comp` (+3 -3) 📝 `src/video_core/host_shaders/post_process.frag` (+1 -1) </details> ### 📄 Description Micro optimization of a calculation. Is there a reason for doing this or is it an oversight? PS: I also removed some trailing whitespaces --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:01:14 +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#2785
No description provided.