diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2019-10-11 14:14:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-11 14:14:08 -0400 |
| commit | 9c17d0be79834a8ebe2888aed8905bae355cb674 (patch) | |
| tree | f0ebf7d256f43af686f63c6375f2a53bd12dc1a3 /tools/render-test/shader-input-layout.h | |
| parent | deeb8647012fc6362f1bb33842cf0842e16f13b7 (diff) | |
Support for unbounded array of arrays (#1078)
* WIP: Unsized arrays on CPU.
* unbounded-array-of-array working on CPU.
* Remove some left over comments.
Diffstat (limited to 'tools/render-test/shader-input-layout.h')
| -rw-r--r-- | tools/render-test/shader-input-layout.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h index 009be7514..8a00980d9 100644 --- a/tools/render-test/shader-input-layout.h +++ b/tools/render-test/shader-input-layout.h @@ -12,7 +12,7 @@ using namespace gfx; enum class ShaderInputType { - Buffer, Texture, Sampler, CombinedTextureSampler + Buffer, Texture, Sampler, CombinedTextureSampler, Array }; enum class InputTextureContent @@ -51,6 +51,11 @@ struct InputSamplerDesc bool isCompareSampler = false; }; +struct ArrayDesc +{ + int size = 0; +}; + class ShaderInputLayoutEntry { public: @@ -59,6 +64,7 @@ public: InputTextureDesc textureDesc; InputBufferDesc bufferDesc; InputSamplerDesc samplerDesc; + ArrayDesc arrayDesc; bool isOutput = false; bool isCPUOnly = false; int hlslBinding = -1; |
