mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
make vulkan::Shder non abstract
This commit is contained in:
@@ -20,6 +20,26 @@ namespace love {
|
||||
return shaderStages;
|
||||
}
|
||||
|
||||
void attach() override {}
|
||||
|
||||
ptrdiff_t getHandle() const { return 0; }
|
||||
|
||||
std::string getWarnings() const override { return ""; }
|
||||
|
||||
int getVertexAttributeIndex(const std::string& name) override { return 0; }
|
||||
|
||||
const UniformInfo* getUniformInfo(const std::string& name) const override { return nullptr; }
|
||||
const UniformInfo* getUniformInfo(BuiltinUniform builtin) const override { return nullptr; }
|
||||
|
||||
void updateUniform(const UniformInfo* info, int count) override {}
|
||||
|
||||
void sendTextures(const UniformInfo* info, Texture** textures, int count) override {}
|
||||
void sendBuffers(const UniformInfo* info, love::graphics::Buffer** buffers, int count) override {}
|
||||
|
||||
bool hasUniform(const std::string& name) const override { return false; }
|
||||
|
||||
void setVideoTextures(Texture* ytexture, Texture* cbtexture, Texture* crtexture) override {}
|
||||
|
||||
private:
|
||||
std::vector<VkPipelineShaderStageCreateInfo> shaderStages;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user