[WGSL] __ref
does not work as expected
#5596
Labels
goal:quality & productivity
Quality issues and issues that impact our productivity coding day to day inside slang
Milestone
__ref
parameters do not work correctly. Objects passed as reference to function should not be placed in a local variable.The following test replicates this behavior
WGSL output:
HLSL output (this works as expected):
The text was updated successfully, but these errors were encountered: