diff options
Diffstat (limited to 'src/plugins/scenegraph/d3d12/qsgd3d12engine.cpp')
-rw-r--r-- | src/plugins/scenegraph/d3d12/qsgd3d12engine.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/plugins/scenegraph/d3d12/qsgd3d12engine.cpp b/src/plugins/scenegraph/d3d12/qsgd3d12engine.cpp index 9c2bb68bbe..14137f062c 100644 --- a/src/plugins/scenegraph/d3d12/qsgd3d12engine.cpp +++ b/src/plugins/scenegraph/d3d12/qsgd3d12engine.cpp @@ -545,6 +545,21 @@ void *QSGD3D12Engine::getResource(Resource resource) const return d->getResource(resource); } +QSGRendererInterface::ShaderType QSGD3D12Engine::shaderType() const +{ + return HLSL; +} + +QSGRendererInterface::ShaderCompilationTypes QSGD3D12Engine::shaderCompilationType() const +{ + return OfflineCompilation; +} + +QSGRendererInterface::ShaderSourceTypes QSGD3D12Engine::shaderSourceType() const +{ + return ShaderByteCode; +} + static inline quint32 alignedSize(quint32 size, quint32 byteAlign) { return (size + byteAlign - 1) & ~(byteAlign - 1); |