Skip to content

Conversation

@HansKristian-Work
Copy link
Contributor

Fix #2411.

Super cursed, but it is what it is.

Aids some lowering cases we need to rewrite loads and stores.
Very cursed workaround since it's the only real case where we cannot
rely on IO lowering :(
DXC barfs on this in certain cases. out seems to work. Passing this
around as value type is very questionable to begin with and there's no
way to express true references in HLSL :\
@HansKristian-Work HansKristian-Work merged commit ebe2aa0 into main Dec 12, 2024
10 checks passed
@HansKristian-Work HansKristian-Work deleted the fix-2411 branch December 12, 2024 13:37
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.

HLSL: passing gl_ClipDistance into a function call causes invalid code-gen

2 participants