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.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h
index f2258b7b9..9602e4fe8 100644
--- a/tools/render-test/shader-input-layout.h
+++ b/tools/render-test/shader-input-layout.h
@@ -46,9 +46,19 @@ namespace renderer_test
InputSamplerDesc samplerDesc;
bool isOutput = false;
int hlslBinding = -1;
- int glslBinding = -1;
- int glslLocation = -1;
+ Slang::List<int> glslBinding;
+
};
+
+ 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: