diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2018-03-14 12:52:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-14 12:52:59 -0700 |
| commit | e69c0bd31c9d6af4937e8f9ffdb9c1bef4bd9d66 (patch) | |
| tree | 47a91fc06e5195560fab873ca0e3f624e453206d /source/slang/syntax.h | |
| parent | 972dda6621f60b9b6d893e04c8f5e133be27b0a1 (diff) | |
When emitting from IR, skip structured types with `__builtin` modifier (#442)
This allows users who call `spAddBuiltins` to specify `struct` types that are provided for a target, and that should not be part of the generated HLSL/GLSL from Slang.
The existing emit logic already skips emitting any basic, vector, matrix, or resource types, so this case really only triggers when the standard library needs to declare a completely ordinary `struct`.
No provision is made right now for a `struct` type that might be builtin on one target, but need to be declared on another. That is a clear next step for this feature.
Diffstat (limited to 'source/slang/syntax.h')
0 files changed, 0 insertions, 0 deletions
