shader: SAMPLE_C as color+ALU compare, unnormalized coords, Depth=0 views #37

Closed
Pouare514 wants to merge 2 commits from upstream-pr/37 into main
Pouare514 commented 2026-09-27 11:32:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Pouare514 on 2026-09-27T11:32:24Z.


Ports the proven approach: never emit Dref ops (color views), ALU depth compare, texel-coord normalization via QuerySize, explicit LOD, Depth=0 image type, 1D-gather support. Builds + SPIR-V validation pass, zero Dref ops remaining.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4653548298 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/37). Originally posted by [Pouare514](https://github.com/Pouare514) on 2026-09-27T11:32:24Z. --- Ports the proven approach: never emit Dref ops (color views), ALU depth compare, texel-coord normalization via QuerySize, explicit LOD, Depth=0 image type, 1D-gather support. Builds + SPIR-V validation pass, zero Dref ops remaining.
boykopovar commented 2026-09-28 04:58:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by boykopovar on 2026-09-28T04:58:49Z.


Conflicts appeared after merging another PR. Review the contents of these libraries in the current main. If anything needs to be changed, resolve the conflicts.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:5863761704 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/37#issuecomment-5863761704). Originally posted by [boykopovar](https://github.com/boykopovar) on 2026-09-28T04:58:49Z. --- Conflicts appeared after merging another PR. Review the contents of these libraries in the current main. If anything needs to be changed, resolve the conflicts.
boykopovar commented 2026-09-29 07:50:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by boykopovar on 2026-09-29T07:50:18Z.


If you decide to continue, please reopen pr

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:5885991720 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/37#issuecomment-5885991720). Originally posted by [boykopovar](https://github.com/boykopovar) on 2026-09-29T07:50:18Z. --- If you decide to continue, please reopen pr

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
boykopovar/AnyPS5!37
No description provided.