Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support vertex offset mode with new D3D12_VERTEX_BUFFER_VIEW #2836

Closed
wants to merge 1 commit into from

Conversation

AMD-dwang
Copy link
Contributor

In vertex offset mode. we will use D3D12_VERTEX_BUFFER_VIEW to replace SRD, the address and size fields are already in the right place. We only need to get stride and fill the fourth DWORD. Then we calculate offset with stride and vertex index.

For Uber fetch shader, SRD will be updated in driver.

@AMD-dwang AMD-dwang requested a review from a team as a code owner November 23, 2023 08:48
In vertex offset mode. we will use D3D12_VERTEX_BUFFER_VIEW to
replace SRD, the address and size fields are already in the right
place. We only need to get stride and fill the fourth DWORD. Then we
calculate offset with stride and vertex index.

For Uber fetch shader, SRD will be updated in driver.
@amdvlk-admin
Copy link

Test summary for commit 130d12a

CTS tests (Failed: 0/138378)
  • Built with version 1.3.5.2
  • Ubuntu navi3x, Srdcvk
    • Passed: 35162/69163 (50.8%)
    • Failed: 0/69163 (0.0%)
    • Not Supported: 34001/69163 (49.2%)
    • Warnings: 0/69163 (0.0%)
    Ubuntu navi2x, Srdcvk
    • Passed: 35242/69215 (50.9%)
    • Failed: 0/69215 (0.0%)
    • Not Supported: 33973/69215 (49.1%)
    • Warnings: 0/69215 (0.0%)

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.

2 participants