diff options
Diffstat (limited to 'tools/render-test/shader-input-layout.h')
| -rw-r--r-- | tools/render-test/shader-input-layout.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h index 4c8d0dfa2..4abbd6fb5 100644 --- a/tools/render-test/shader-input-layout.h +++ b/tools/render-test/shader-input-layout.h @@ -63,11 +63,24 @@ struct ArrayDesc int size = 0; }; +enum class RTTIDataEntryType +{ + RTTIObject, WitnessTable +}; +struct RTTIDataEntry +{ + RTTIDataEntryType type; + Slang::String typeName; + Slang::String interfaceName; + unsigned int offset; +}; + class ShaderInputLayoutEntry { public: ShaderInputType type; Slang::List<unsigned int> bufferData; + Slang::List<RTTIDataEntry> rttiEntries; InputTextureDesc textureDesc; InputBufferDesc bufferDesc; InputSamplerDesc samplerDesc; |
