diff options
| author | venkataram-nv <vedavamadath@nvidia.com> | 2024-08-16 15:18:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-16 15:18:17 -0700 |
| commit | b411c05bc074f53037e32b23583b85adcfbf81fc (patch) | |
| tree | 412144254f0767675d89ae5b3626b7057c4052b5 /source/slang/slang-syntax.cpp | |
| parent | 9bf5dc93d5d46f64b0da298e03ba3233539af6ef (diff) | |
Include inout cast operation as an aliasing instruction (#4859)
Previously, the warnings were:
```
environment.slang(22): warning 41022: inout parameter 'seed' is never written to
public float3 environment_sample(StructuredBuffer <Environment_sample_data> sample_buffer, inout int seed)
^~~~~~~~~~~~~~~~~~
hit.slang(5): warning 41022: inout parameter 'seed' is never written to
float3 sample_lights(inout uint seed)
^~~~~~~~~~~~~
```
With this commit they should not be emitted.
Diffstat (limited to 'source/slang/slang-syntax.cpp')
0 files changed, 0 insertions, 0 deletions
