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

Disable Xfb for relocatable compilation.. #2798

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

AMD-dwang
Copy link
Contributor

On gfx11, Xfb depends on the count of primitive vertex. If

UnlinkedStageVertexProcess only contains VS (no TES and GS),

the primitive type might be unknown at compiling VS time, so

we have to fall back to full pipeline.

Currently, We treat Traingle_list as the default value. Therefore,

we only disable relocatable compilation when primitive is point or

line.

@AMD-dwang AMD-dwang requested a review from a team as a code owner November 3, 2023 09:48
On gfx11, Xfb depends on the count of primitive vertex. If

UnlinkedStageVertexProcess only contains VS (no TES and GS),

the primitive type might be unknown at compiling VS time, so

we have to fall back to full pipeline.

Currently, We treat Traingle_list as the default value. Therefore,

we only disable relocatable compilation when primitive is point or

line.
@amdvlk-admin
Copy link

Test summary for commit 6533c5d

CTS tests (Failed: 0/137941)
  • Built with version 1.3.5.2
  • Ubuntu navi3x, Srdcvk
    • Passed: 35352/68939 (51.3%)
    • Failed: 0/68939 (0.0%)
    • Not Supported: 33587/68939 (48.7%)
    • Warnings: 0/68939 (0.0%)
    Ubuntu navi2x, Srdcvk
    • Passed: 35424/69002 (51.3%)
    • Failed: 0/69002 (0.0%)
    • Not Supported: 33578/69002 (48.7%)
    • Warnings: 0/69002 (0.0%)

@amdvlk-admin
Copy link

Test summary for commit 30e2770

CTS tests (Failed: 0/137941)
  • Built with version 1.3.5.2
  • Ubuntu navi3x, Srdcvk
    • Passed: 35352/68939 (51.3%)
    • Failed: 0/68939 (0.0%)
    • Not Supported: 33587/68939 (48.7%)
    • Warnings: 0/68939 (0.0%)
    Ubuntu navi2x, Srdcvk
    • Passed: 35424/69002 (51.3%)
    • Failed: 0/69002 (0.0%)
    • Not Supported: 33578/69002 (48.7%)
    • Warnings: 0/69002 (0.0%)

Copy link
Member

@nhaehnle nhaehnle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we really cared, we could probably have XFB output in a glue shader. But I don't think it's worth it. This LGTM.

@AMD-dwang AMD-dwang merged commit 7eb4d62 into GPUOpen-Drivers:dev Nov 6, 2023
9 checks passed
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.

3 participants