X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fpipelinestate_backend.h;h=19f7f902d1e7257ba4430a4dd7d7af8b9244a12d;hb=b0db98d71aeb32d9e57315b8a06ff4068aeccbca;hp=d7ef4a20bf97483ade9b2c818228d59352e2628e;hpb=99ca354f18119f82f1adeca100cd665a8f640317;p=libs%2Fgl.git diff --git a/source/backends/vulkan/pipelinestate_backend.h b/source/backends/vulkan/pipelinestate_backend.h index d7ef4a20..19f7f902 100644 --- a/source/backends/vulkan/pipelinestate_backend.h +++ b/source/backends/vulkan/pipelinestate_backend.h @@ -23,6 +23,8 @@ protected: VulkanPipelineState(); VulkanPipelineState(VulkanPipelineState &&); + static bool can_bind_tex_level(unsigned) { return true; } + void update() const; void refresh() const { if(changes) update(); } std::uint64_t compute_hash() const; @@ -31,7 +33,7 @@ protected: VkDescriptorSetLayout get_descriptor_set_layout(unsigned) const; unsigned fill_descriptor_writes(unsigned, std::vector &) const; - void apply(VkCommandBuffer) const; + void apply(VkCommandBuffer, bool) const; }; using PipelineStateBackend = VulkanPipelineState;