Revision 939688e963fde7a0485f210ef2674c27692021a4 authored by Tim Foley on 07 November 2017, 22:05:22 UTC, committed by GitHub on 07 November 2017, 22:05:22 UTC
This is currently only useful for `struct` types.
I implemented a special-case exception so that the auto-generated `struct` types used for `cbuffer` members don't show their internal name.
I did *not* implement any logic to avoid returning the name `vector` for a vector type, etc., since they are all `DeclRefType`s and it seemed easiest to just let the user access information they can't really use.
1 parent 417c9f3
History
File Mode Size
arrays.hlsl -rw-r--r-- 417 bytes
arrays.hlsl.expected -rw-r--r-- 3.3 KB
cross-compile.slang -rw-r--r-- 514 bytes
cross-compile.slang.expected -rw-r--r-- 1.6 KB
gh-55.glsl -rw-r--r-- 188 bytes
gh-55.glsl.expected -rw-r--r-- 1.6 KB
global-uniforms.hlsl -rw-r--r-- 248 bytes
global-uniforms.hlsl.expected -rw-r--r-- 2.1 KB
image-types.glsl -rw-r--r-- 239 bytes
image-types.glsl.expected -rw-r--r-- 741 bytes
multi-file-extra.hlsl -rw-r--r-- 1.6 KB
multi-file.hlsl -rw-r--r-- 1.5 KB
multi-file.hlsl.expected -rw-r--r-- 8.8 KB
reflect-imported-code.hlsl -rw-r--r-- 320 bytes
reflect-imported-code.hlsl.expected -rw-r--r-- 2.3 KB
reflect-imported-code.slang -rw-r--r-- 251 bytes
reflection0.hlsl -rw-r--r-- 326 bytes
reflection0.hlsl.expected -rw-r--r-- 1.3 KB
resource-in-cbuffer.hlsl -rw-r--r-- 300 bytes
resource-in-cbuffer.hlsl.expected -rw-r--r-- 2.2 KB
sample-rate-input.glsl -rw-r--r-- 247 bytes
sample-rate-input.glsl.expected -rw-r--r-- 1.3 KB
std430-layout.glsl -rw-r--r-- 1.1 KB
std430-layout.glsl.expected -rw-r--r-- 4.5 KB
thread-group-size.comp -rw-r--r-- 310 bytes
thread-group-size.comp.expected -rw-r--r-- 1.1 KB
thread-group-size.hlsl -rw-r--r-- 252 bytes
thread-group-size.hlsl.expected -rw-r--r-- 1.0 KB
vertex-input-semantics.hlsl -rw-r--r-- 407 bytes
vertex-input-semantics.hlsl.expected -rw-r--r-- 7.0 KB

back to top