diff options
Diffstat (limited to 'tools/render-test/shader-input-layout.h')
| -rw-r--r-- | tools/render-test/shader-input-layout.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h index 4abbd6fb5..97796d7f6 100644 --- a/tools/render-test/shader-input-layout.h +++ b/tools/render-test/shader-input-layout.h @@ -75,19 +75,26 @@ struct RTTIDataEntry unsigned int offset; }; +struct BindlessHandleDataEntry +{ + unsigned int offset; + Slang::String name; +}; + class ShaderInputLayoutEntry { public: ShaderInputType type; Slang::List<unsigned int> bufferData; Slang::List<RTTIDataEntry> rttiEntries; + Slang::List<BindlessHandleDataEntry> bindlessHandleEntry; InputTextureDesc textureDesc; InputBufferDesc bufferDesc; InputSamplerDesc samplerDesc; ArrayDesc arrayDesc; bool isOutput = false; bool onlyCPULikeBinding = false; ///< If true, only use on targets that have 'uniform' or 'CPU like' binding, like CPU and CUDA - + bool isBindlessObject = false; ///< If true, this is a bindless object with no associated binding point in the shader. Slang::String name; ///< Optional name. Useful for binding through reflection. }; |
