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

Don't rewrite 'ConstantBuffer<T>.Length' #806

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

Sergio0694
Copy link
Owner

Closes #794

Description

This PR avoids rewriting ConstantBuffer<T>.Length, to produce a better error rather than completely invalid HLSL code.

@Sergio0694 Sergio0694 added the bug fix ✅ A fix for a reported/discovered bug label Jun 6, 2024
@Sergio0694 Sergio0694 merged commit bb861f7 into main Jun 6, 2024
24 checks passed
@Sergio0694 Sergio0694 deleted the dev/constant-buffer-length branch June 6, 2024 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix ✅ A fix for a reported/discovered bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ConstantBuffer.Length gives shader compilation error
1 participant