SPV: When passing structs of opaque types, flatten and pass the members instead.
This avoids either A) needing uniformConstant struct, or
B) initializing a struct with opaque members, as writing them is not
allowed.
Showing
Test/baseResults/hlsl.flattenOpaque.frag.out
0 → 100755
This diff is collapsed.
Click to expand it.
Test/hlsl.flattenOpaque.frag
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment