Replies: 1 comment 3 replies
-
we do have a flag Also, when querying these field names with the reflection api, the original names are preserved. The fact that it creates a wrapping struct could be considered an implementation detail as the layout will be the same with or without it. Please let me know if this flag works for you :) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a compute shader with a function with uniform parameters like this:
I want to compile it to HLSL. I'm expecting it to compile to something like this:
But instead, I get this:
I need the
uniform_*
fields not to be mangled. I don't care about other fields in other structs.And also, why does it declare a separate
EntryPointParams_0
struct, if it can place the fields in the cbuffer, like this:Beta Was this translation helpful? Give feedback.
All reactions