rsx: Apply Clang-Tidy fix "readability-non-const-parameter"
This commit is contained in:
@@ -1942,7 +1942,7 @@ namespace gl
|
|||||||
return m_aspect_flags;
|
return m_aspect_flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool compare_swizzle(GLenum* argb_swizzle) const
|
bool compare_swizzle(const GLenum* argb_swizzle) const
|
||||||
{
|
{
|
||||||
return (argb_swizzle[0] == component_swizzle[3] &&
|
return (argb_swizzle[0] == component_swizzle[3] &&
|
||||||
argb_swizzle[1] == component_swizzle[0] &&
|
argb_swizzle[1] == component_swizzle[0] &&
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ namespace vk
|
|||||||
m_program = std::make_unique<vk::glsl::program>((VkDevice)dev, pipeline, unused, unused);
|
m_program = std::make_unique<vk::glsl::program>((VkDevice)dev, pipeline, unused, unused);
|
||||||
}
|
}
|
||||||
|
|
||||||
void load_program(vk::command_buffer &cmd, float scale_x, float scale_y, float *offsets, size_t nb_offsets, std::array<float, 4> color)
|
void load_program(vk::command_buffer &cmd, float scale_x, float scale_y, const float *offsets, size_t nb_offsets, std::array<float, 4> color)
|
||||||
{
|
{
|
||||||
verify(HERE), m_used_descriptors < 120;
|
verify(HERE), m_used_descriptors < 120;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user