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

fix(d3d11): use correct cbvCount when binding constant buffers #281

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

szihs
Copy link

@szihs szihs commented Mar 26, 2025

The D3D11 backend was incorrectly using uavCount instead of cbvCount when binding constant buffers in VSSetConstantBuffers1. This caused rendering tests to fail as constant buffers weren't properly provided to the pipeline.

Fixes shader-slang/slang#6531

#262 Already has the fix !. So either we update the submodule for Top of the tree shader-slang/slang or pick this.

The D3D11 backend was incorrectly using uavCount instead of cbvCount
when binding constant buffers in VSSetConstantBuffers1. This caused
rendering tests to fail as constant buffers weren't properly provided
to the pipeline.

Fixes shader-slang/slang#6531
@szihs szihs requested a review from skallweitNV March 26, 2025 13:23
@CLAassistant
Copy link

CLAassistant commented Mar 26, 2025

CLA assistant check
All committers have signed the CLA.

@szihs szihs self-assigned this Mar 26, 2025
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.

[Regression] slang-rhi update causes rendering tests to fail
2 participants