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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h
index 0f11c4ad7..2a58bfd2c 100644
--- a/tools/render-test/shader-input-layout.h
+++ b/tools/render-test/shader-input-layout.h
@@ -59,6 +59,7 @@ public:
InputBufferDesc bufferDesc;
InputSamplerDesc samplerDesc;
bool isOutput = false;
+ bool isCPUOnly = false;
int hlslBinding = -1;
Slang::List<int> glslBinding;
@@ -85,7 +86,9 @@ public:
Slang::Index findEntryIndexByName(const Slang::String& name) const;
- void parse(const char * source);
+ void updateForTarget(SlangCompileTarget target);
+
+ void parse(const char* source);
};
void generateTextureDataRGB8(TextureData& output, const InputTextureDesc& desc);