diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-11-07 10:02:10 -0800 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-11-07 10:56:45 -0800 |
| commit | f4c4f63c0cfad93b1eacf9300eb8e06d2c78ccc9 (patch) | |
| tree | 9d3458ed0ea798839867ef7070424c02fa563126 /tests | |
| parent | 97a1a95b6192599e038a26704756a914368f3d3a (diff) | |
Fix for emitting subscript calls in HLSL/GLSL
The old approach was relying on an `__intrinsic_op` modifier to tell us we need to do something special with an `InvokeExpr`, but a previous change removed a bunch of those modifiers.
Instead, we will now check for calls to subscript declarations as part of the normal flow of emitting *any* call, similar to what is done for constructor calls already.
Eventually we should be able to eliminate the special case in the `__intrinsic_op` path, but I'm holding off on that because the AST emit logic can probably be cleaned up a *lot* once it doesn't have to be used for cross-compilation as well.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
