]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/program_backend.h
Set debug names for pipeline and descriptor set layouts on Vulkan
[libs/gl.git] / source / backends / vulkan / program_backend.h
index c01a5361197b09c0947b027671f0ed7ac17df8df..16cf7b27f9756c0dca5e4662784419e36f91766c 100644 (file)
@@ -26,19 +26,20 @@ protected:
        std::vector<char> creation_info;
        std::vector<VkDescriptorSetLayout> desc_set_layout_handles;
        VkPipelineLayout layout_handle = 0;
+       std::string debug_name;
 
        VulkanProgram();
        VulkanProgram(VulkanProgram &&);
        ~VulkanProgram();
 
        bool has_stages() const;
-       void add_glsl_stages(const GlslModule &, const std::map<std::string, int> &, TransientData &);
+       void add_glsl_stages(const GlslModule &, const std::map<std::string, int> &);
        void add_spirv_stages(const SpirVModule &, const std::map<std::string, int> &);
 
-       void finalize(const Module &, TransientData &) { }
        void finalize_uniforms();
 
-       void set_debug_name(const std::string &) { }
+       void set_debug_name(const std::string &);
+       void set_vulkan_object_name() const;
 };
 
 using ProgramBackend = VulkanProgram;