GPU: Add missing virtual destructor to ShaderCompiler
This commit is contained in:
parent
f7797a90f6
commit
a249e93ad1
@ -173,6 +173,8 @@ class ShaderCompiler {
|
||||
};
|
||||
|
||||
public:
|
||||
virtual ~ShaderCompiler(){};
|
||||
|
||||
Shader *compile(const shader::ShaderCreateInfo &info, bool is_batch_compilation);
|
||||
|
||||
virtual BatchHandle batch_compile(Span<const shader::ShaderCreateInfo *> &infos) = 0;
|
||||
@ -193,7 +195,7 @@ class ShaderCompilerGeneric : public ShaderCompiler {
|
||||
Map<BatchHandle, Batch> batches;
|
||||
|
||||
public:
|
||||
~ShaderCompilerGeneric();
|
||||
virtual ~ShaderCompilerGeneric() override;
|
||||
|
||||
virtual BatchHandle batch_compile(Span<const shader::ShaderCreateInfo *> &infos) override;
|
||||
virtual bool batch_is_ready(BatchHandle handle) override;
|
||||
|
@ -278,7 +278,7 @@ class GLShaderCompiler : public ShaderCompiler {
|
||||
bool worker_is_lost(GLCompilerWorker *&worker);
|
||||
|
||||
public:
|
||||
~GLShaderCompiler();
|
||||
virtual ~GLShaderCompiler() override;
|
||||
|
||||
virtual BatchHandle batch_compile(Span<const shader::ShaderCreateInfo *> &infos) override;
|
||||
virtual bool batch_is_ready(BatchHandle handle) override;
|
||||
|
Loading…
Reference in New Issue
Block a user