summaryrefslogtreecommitdiff
path: root/tools/gfx/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/cpu')
-rw-r--r--tools/gfx/cpu/cpu-shader-object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gfx/cpu/cpu-shader-object.h b/tools/gfx/cpu/cpu-shader-object.h
index 5d0b5c366..2be703dc5 100644
--- a/tools/gfx/cpu/cpu-shader-object.h
+++ b/tools/gfx/cpu/cpu-shader-object.h
@@ -81,7 +81,9 @@ public:
virtual SLANG_NO_THROW uint32_t SLANG_MCALL addRef() override;
virtual SLANG_NO_THROW uint32_t SLANG_MCALL release() override;
+ // An overload for the `init` virtual function, with a more specific type
Result init(IDevice* device, RootShaderObjectLayoutImpl* programLayout);
+ using ShaderObjectImpl::init;
RootShaderObjectLayoutImpl* getLayout();