Skip to content

Comments

SV_PrimitiveID emulation by provoking vertex#1237

Merged
turanszkij merged 2 commits intomasterfrom
primid-software
Oct 7, 2025
Merged

SV_PrimitiveID emulation by provoking vertex#1237
turanszkij merged 2 commits intomasterfrom
primid-software

Conversation

@turanszkij
Copy link
Owner

The SV_PrimitiveID is no longer used as PS input, instead two additional index buffers are used for indirection. The "provoke" contains primitiveIDs for every provoking vertex. The "reorder" contains the vertexID remapping from "provoke". On PS5 this removes the need to do additional geometry shader fallback for prepass rendering. It will be also helpful for MacOS port that doesn't support SV_PrimitiveID or geometry shader (PR: #1230 )

@turanszkij turanszkij merged commit 4fc1d37 into master Oct 7, 2025
4 checks passed
@turanszkij turanszkij deleted the primid-software branch October 7, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant