diff options
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; |
