diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-11-07 14:05:22 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-07 14:05:22 -0800 |
| commit | 939688e963fde7a0485f210ef2674c27692021a4 (patch) | |
| tree | b86d6d71c3dd57b3fc2af3b1006be397d0cb01cc /tests/reflection/std430-layout.glsl.expected | |
| parent | 417c9f3939e0545125317f49316a6dfb060d6c2c (diff) | |
Add reflection API to get type name (#263)
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.
Diffstat (limited to 'tests/reflection/std430-layout.glsl.expected')
| -rw-r--r-- | tests/reflection/std430-layout.glsl.expected | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/reflection/std430-layout.glsl.expected b/tests/reflection/std430-layout.glsl.expected index bd04c417f..7c9c514d6 100644 --- a/tests/reflection/std430-layout.glsl.expected +++ b/tests/reflection/std430-layout.glsl.expected @@ -61,6 +61,7 @@ standard output = { "name": "e", "type": { "kind": "struct", + "name": "Foo", "fields": [ { "name": "f", |
