summaryrefslogtreecommitdiff
path: root/tools/render-test/shader-input-layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/shader-input-layout.h')
-rw-r--r--tools/render-test/shader-input-layout.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h
index 0f5a54326..7537527ab 100644
--- a/tools/render-test/shader-input-layout.h
+++ b/tools/render-test/shader-input-layout.h
@@ -3,6 +3,8 @@
#include "core/basic.h"
+#include "render.h"
+
namespace renderer_test {
enum class ShaderInputType
@@ -35,6 +37,7 @@ struct InputBufferDesc
{
InputBufferType type = InputBufferType::ConstantBuffer;
int stride = 0; // stride == 0 indicates an unstructured buffer.
+ Format format = Format::Unknown;
};
struct InputSamplerDesc
@@ -52,7 +55,7 @@ public:
InputSamplerDesc samplerDesc;
bool isOutput = false;
int hlslBinding = -1;
- Slang::List<int> glslBinding;
+ Slang::List<int> glslBinding;
};
struct TextureData
@@ -76,4 +79,4 @@ void generateTextureData(TextureData & output, const InputTextureDesc & desc);
} // namespace render_test
-#endif \ No newline at end of file
+#endif