diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-07-12 10:18:11 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-07-12 10:18:11 -0700 |
| commit | 2c6c501b36db9e7991c3f7999451b70f12329ecc (patch) | |
| tree | 4b5d5e847e29d52cda039d79d25b9e7647cca1fa /tests/reflection | |
| parent | 88f451cfafbf3a30033e750873c79f761b2bd1a5 (diff) | |
Add per-entry-point information to reflection JSON dumps
- This also adds reflection API for querying:
- Entry point name
- Entry point parameter list
Diffstat (limited to 'tests/reflection')
| -rw-r--r-- | tests/reflection/arrays.hlsl.expected | 6 | ||||
| -rw-r--r-- | tests/reflection/gh-55.glsl.expected | 6 | ||||
| -rw-r--r-- | tests/reflection/global-uniforms.hlsl.expected | 6 | ||||
| -rw-r--r-- | tests/reflection/image-types.glsl.expected | 6 | ||||
| -rw-r--r-- | tests/reflection/multi-file.hlsl.expected | 10 | ||||
| -rw-r--r-- | tests/reflection/reflect-imported-code.hlsl.expected | 6 | ||||
| -rw-r--r-- | tests/reflection/reflection0.hlsl.expected | 6 | ||||
| -rw-r--r-- | tests/reflection/resource-in-cbuffer.hlsl.expected | 6 | ||||
| -rw-r--r-- | tests/reflection/std430-layout.glsl.expected | 6 |
9 files changed, 58 insertions, 0 deletions
diff --git a/tests/reflection/arrays.hlsl.expected b/tests/reflection/arrays.hlsl.expected index 052bd3927..b586e362a 100644 --- a/tests/reflection/arrays.hlsl.expected +++ b/tests/reflection/arrays.hlsl.expected @@ -98,6 +98,12 @@ standard output = { "kind": "samplerState" } } + ], + "entryPoints": [ + { + "name": "main", + "stage:": "fragment" + } ] } } diff --git a/tests/reflection/gh-55.glsl.expected b/tests/reflection/gh-55.glsl.expected index 8cdebdcd8..993984d93 100644 --- a/tests/reflection/gh-55.glsl.expected +++ b/tests/reflection/gh-55.glsl.expected @@ -40,6 +40,12 @@ standard output = { } } } + ], + "entryPoints": [ + { + "name": "main", + "stage:": "fragment" + } ] } } diff --git a/tests/reflection/global-uniforms.hlsl.expected b/tests/reflection/global-uniforms.hlsl.expected index b40b2d69c..e36665673 100644 --- a/tests/reflection/global-uniforms.hlsl.expected +++ b/tests/reflection/global-uniforms.hlsl.expected @@ -67,6 +67,12 @@ standard output = { } } } + ], + "entryPoints": [ + { + "name": "main", + "stage:": "fragment" + } ] } } diff --git a/tests/reflection/image-types.glsl.expected b/tests/reflection/image-types.glsl.expected index 19d28f329..dfe477287 100644 --- a/tests/reflection/image-types.glsl.expected +++ b/tests/reflection/image-types.glsl.expected @@ -22,6 +22,12 @@ standard output = { "access": "readWrite" } } + ], + "entryPoints": [ + { + "name": "main", + "stage:": "fragment" + } ] } } diff --git a/tests/reflection/multi-file.hlsl.expected b/tests/reflection/multi-file.hlsl.expected index 38d028ffe..3dc23c11c 100644 --- a/tests/reflection/multi-file.hlsl.expected +++ b/tests/reflection/multi-file.hlsl.expected @@ -233,6 +233,16 @@ standard output = { } } } + ], + "entryPoints": [ + { + "name": "main", + "stage:": "fragment" + }, + { + "name": "main", + "stage:": "fragment" + } ] } } diff --git a/tests/reflection/reflect-imported-code.hlsl.expected b/tests/reflection/reflect-imported-code.hlsl.expected index 1190ab550..78e7ce195 100644 --- a/tests/reflection/reflect-imported-code.hlsl.expected +++ b/tests/reflection/reflect-imported-code.hlsl.expected @@ -74,6 +74,12 @@ standard output = { } } } + ], + "entryPoints": [ + { + "name": "main", + "stage:": "fragment" + } ] } } diff --git a/tests/reflection/reflection0.hlsl.expected b/tests/reflection/reflection0.hlsl.expected index 3b74988b2..e4d6070ca 100644 --- a/tests/reflection/reflection0.hlsl.expected +++ b/tests/reflection/reflection0.hlsl.expected @@ -39,6 +39,12 @@ standard output = { } } } + ], + "entryPoints": [ + { + "name": "main", + "stage:": "fragment" + } ] } } diff --git a/tests/reflection/resource-in-cbuffer.hlsl.expected b/tests/reflection/resource-in-cbuffer.hlsl.expected index faae1c8b7..261fe2587 100644 --- a/tests/reflection/resource-in-cbuffer.hlsl.expected +++ b/tests/reflection/resource-in-cbuffer.hlsl.expected @@ -55,6 +55,12 @@ standard output = { } } } + ], + "entryPoints": [ + { + "name": "main", + "stage:": "fragment" + } ] } } diff --git a/tests/reflection/std430-layout.glsl.expected b/tests/reflection/std430-layout.glsl.expected index 701a36909..bd04c417f 100644 --- a/tests/reflection/std430-layout.glsl.expected +++ b/tests/reflection/std430-layout.glsl.expected @@ -102,6 +102,12 @@ standard output = { } } } + ], + "entryPoints": [ + { + "name": "main", + "stage:": "fragment" + } ] } } |
