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

Remove the unused user data EsGsLdsSize #2885

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

amdrexu
Copy link
Contributor

@amdrexu amdrexu commented Dec 15, 2023

This user data was added to keep some compatibility with old PAL. At that time, PAL expected this user data to handle ES-GS merged shader and NGG correctly on GFX9 and GFX10.1. But LLPC doesn't need this user data at all since we always know ES stage when building the pipeline. And the LDS calculation and allocation of GS stage are applied to full ES-GS pipeline.

In this change, the user data EsGsLdsSize is not added to entry-point argument. This SGPR is saved. Also, we don't need to tell PAL with metadata EsGsLdsSize.

This user data was added to keep some compatibility with old PAL. At
that time, PAL expected this user data to handle ES-GS merged shader and
NGG correctly on GFX9 and GFX10.1. But LLPC doesn't need this user data
at all since we always know ES stage when building the pipeline. And the
LDS calculation and allocation of GS stage are applied to full ES-GS
pipeline.

In this change, the user data EsGsLdsSize is not added to entry-point
argument. This SGPR is saved. Also, we don't need to tell PAL with
metadata EsGsLdsSize.
@amdrexu amdrexu requested a review from a team as a code owner December 15, 2023 06:38
@amdvlk-admin
Copy link

Test summary for commit 28014e9

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: 35241/69215 (50.9%)
    • Failed: 0/69215 (0.0%)
    • Not Supported: 33974/69215 (49.1%)
    • Warnings: 0/69215 (0.0%)

@amdrexu amdrexu merged commit abe957e into GPUOpen-Drivers:dev Dec 20, 2023
10 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