diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-07-07 09:14:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-07 09:14:18 -0700 |
| commit | 975e4b326cd2ef3ef0341d1fb7509315b9dee555 (patch) | |
| tree | 09c8ef6014eb49fe9a173600a5b8639d4695c34e /tests/reflection/std430-layout.glsl.expected | |
| parent | c47f23c2e61538c55819363f9db47ce946649027 (diff) | |
| parent | d35b4d4bc62beebaa56b949a1ac59470192b5dfc (diff) | |
Merge pull request #58 from tfoleyNV/bug-57
Bug 57
Diffstat (limited to 'tests/reflection/std430-layout.glsl.expected')
| -rw-r--r-- | tests/reflection/std430-layout.glsl.expected | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/tests/reflection/std430-layout.glsl.expected b/tests/reflection/std430-layout.glsl.expected new file mode 100644 index 000000000..701a36909 --- /dev/null +++ b/tests/reflection/std430-layout.glsl.expected @@ -0,0 +1,107 @@ +result code = 0 +standard error = { +} +standard output = { +{ + "parameters": [ + { + "name": "SomeBuffer", + "binding": {"kind": "descriptorTableSlot", "index": 0}, + "type": { + "kind": "shaderStorageBuffer", + "elementType": { + "kind": "struct", + "fields": [ + { + "name": "a", + "type": { + "kind": "scalar", + "scalarType": "float32" + }, + "binding": {"kind": "uniform", "offset": 0, "size": 4} + }, + { + "name": "b", + "type": { + "kind": "vector", + "elementCount": 3, + "elementType": { + "kind": "scalar", + "scalarType": "float32" + } + }, + "binding": {"kind": "uniform", "offset": 16, "size": 12} + }, + { + "name": "c", + "type": { + "kind": "array", + "elementCount": 4, + "elementType": { + "kind": "scalar", + "scalarType": "float32" + }, + "uniformStride": 4 + }, + "binding": {"kind": "uniform", "offset": 28, "size": 16} + }, + { + "name": "d", + "type": { + "kind": "vector", + "elementCount": 2, + "elementType": { + "kind": "scalar", + "scalarType": "float32" + } + }, + "binding": {"kind": "uniform", "offset": 48, "size": 8} + }, + { + "name": "e", + "type": { + "kind": "struct", + "fields": [ + { + "name": "f", + "type": { + "kind": "vector", + "elementCount": 2, + "elementType": { + "kind": "scalar", + "scalarType": "float32" + } + }, + "binding": {"kind": "uniform", "offset": 0, "size": 8} + } + ] + }, + "binding": {"kind": "uniform", "offset": 56, "size": 8} + }, + { + "name": "g", + "type": { + "kind": "vector", + "elementCount": 3, + "elementType": { + "kind": "scalar", + "scalarType": "float32" + } + }, + "binding": {"kind": "uniform", "offset": 64, "size": 12} + }, + { + "name": "h", + "type": { + "kind": "scalar", + "scalarType": "float32" + }, + "binding": {"kind": "uniform", "offset": 76, "size": 4} + } + ] + } + } + } + ] +} +} |
