Commit b83caef6 authored by Samuel Pitoiset's avatar Samuel Pitoiset Committed by Marge Bot
Browse files

radv: constify radv_vertex_binding in CmdSetVertexInputEXT()



Signed-off-by: Samuel Pitoiset's avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen's avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <mesa/mesa!13857>
parent 45f181c4
...@@ -5618,7 +5618,7 @@ radv_CmdSetVertexInputEXT(VkCommandBuffer commandBuffer, uint32_t vertexBindingD ...@@ -5618,7 +5618,7 @@ radv_CmdSetVertexInputEXT(VkCommandBuffer commandBuffer, uint32_t vertexBindingD
state->format_sizes[loc] = format_desc->block.bits / 8u; state->format_sizes[loc] = format_desc->block.bits / 8u;
if (chip == GFX6 || chip >= GFX10) { if (chip == GFX6 || chip >= GFX10) {
struct radv_vertex_binding *vb = cmd_buffer->vertex_bindings; const struct radv_vertex_binding *vb = cmd_buffer->vertex_bindings;
unsigned bit = 1u << loc; unsigned bit = 1u << loc;
if (binding->stride & format_align_req_minus_1) { if (binding->stride & format_align_req_minus_1) {
state->misaligned_mask |= bit; state->misaligned_mask |= bit;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment