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 for ConstantBuffer<T[...]> struct member access causing a crash #4705

Conversation

ArielG-NV
Copy link
Contributor

@ArielG-NV ArielG-NV commented Jul 22, 2024

Fixes: #4704

Change the type we assign when get the address of a member variable from a legalized ConstantBuffer<T[...]>.

Fixes: shader-slang#4704

Change the type we assign when getting the member variable of a legalized `ConstantBuffer<T[...]>`.
@ArielG-NV ArielG-NV added the pr: non-breaking PRs without breaking changes label Jul 22, 2024
@ArielG-NV ArielG-NV changed the title Fix for ConstantBuffer<T[...]> causing a crash Fix for ConstantBuffer<T[...]> structField access causing a crash Jul 22, 2024
@ArielG-NV ArielG-NV changed the title Fix for ConstantBuffer<T[...]> structField access causing a crash Fix for ConstantBuffer<T[...]> struct member access causing a crash Jul 22, 2024
@ArielG-NV ArielG-NV merged commit 72f7ea6 into shader-slang:master Jul 23, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ConstantBuffer<T[...]> struct member access causes a segfault
2 participants