Misc: Pass string_view by value

This commit is contained in:
Stenzek
2024-05-05 20:21:54 +10:00
parent e4d940a476
commit ca3cfbaa99
111 changed files with 543 additions and 542 deletions

View File

@ -15,7 +15,7 @@ public:
ALWAYS_INLINE VkShaderModule GetModule() const { return m_module; }
void SetDebugName(const std::string_view& name) override;
void SetDebugName(std::string_view name) override;
private:
VulkanShader(GPUShaderStage stage, VkShaderModule mod);
@ -34,7 +34,7 @@ public:
ALWAYS_INLINE Layout GetLayout() const { return m_layout; }
ALWAYS_INLINE u8 GetVerticesPerPrimitive() const { return m_vertices_per_primitive; }
void SetDebugName(const std::string_view& name) override;
void SetDebugName(std::string_view name) override;
private:
VulkanPipeline(VkPipeline pipeline, Layout layout, u8 vertices_per_primitive, RenderPassFlag render_pass_flags);