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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h
index f2258b7b9..9dae75270 100644
--- a/tools/render-test/shader-input-layout.h
+++ b/tools/render-test/shader-input-layout.h
@@ -49,6 +49,16 @@ namespace renderer_test
int glslBinding = -1;
int glslLocation = -1;
};
+
+ struct TextureData
+ {
+ Slang::List<Slang::List<unsigned int>> dataBuffer;
+ int textureSize;
+ int mipLevels;
+ int arraySize;
+ };
+ void generateTextureData(TextureData & output, const InputTextureDesc & desc);
+
class ShaderInputLayout
{
public: