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

[SPIR-V] SV_Barycentrics doesn't work #7175

Open
kh-huawei opened this issue Mar 4, 2025 · 1 comment
Open

[SPIR-V] SV_Barycentrics doesn't work #7175

kh-huawei opened this issue Mar 4, 2025 · 1 comment
Labels
bug Bug, regression, crash needs-triage Awaiting triage spirv Work related to SPIR-V

Comments

@kh-huawei
Copy link

Description
SV_Barycentrics doesn't work with Spirv on vulkan devices.

There was an attempt to add support for the extenion KHR_fragment_shading_barycentric with PR 4638, which was later reverted with PR 5384, and since then nothing happened, leading to the issue that SV_Barycentrics doesn't work when using Vulkan with Nvidia devices.

Steps to Reproduce
Create a fragment shader that uses SV_Barycentrics

Actual Behavior
The Barycentric values are wrong

Environment

  • DXC version 1.7.0.4010, but newer versions don't change anything there
  • Host Operating System Windows 10
@kh-huawei kh-huawei added bug Bug, regression, crash needs-triage Awaiting triage spirv Work related to SPIR-V labels Mar 4, 2025
@s-perron
Copy link
Collaborator

s-perron commented Mar 4, 2025

@kh-huawei Can you please provide an sample that produces the wrong results? I thought the feature was reintroduced #5649.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug, regression, crash needs-triage Awaiting triage spirv Work related to SPIR-V
Projects
Status: No status
Development

No branches or pull requests

2 participants