summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2018-03-14 12:52:59 -0700
committerGitHub <noreply@github.com>2018-03-14 12:52:59 -0700
commite69c0bd31c9d6af4937e8f9ffdb9c1bef4bd9d66 (patch)
tree47a91fc06e5195560fab873ca0e3f624e453206d /source/slang/syntax.h
parent972dda6621f60b9b6d893e04c8f5e133be27b0a1 (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