mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-22 01:10:32 +01:00
radv: move a comment at the right place in CmdBindVertexBuffers2EXT()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13857>
This commit is contained in:
parent
e63ffc2f04
commit
45f181c482
1 changed files with 1 additions and 1 deletions
|
|
@ -4581,7 +4581,6 @@ radv_CmdBindVertexBuffers2EXT(VkCommandBuffer commandBuffer, uint32_t firstBindi
|
|||
vb[idx].buffer = buffer;
|
||||
vb[idx].offset = pOffsets[i];
|
||||
vb[idx].size = size;
|
||||
/* if pStrides=NULL, it shouldn't overwrite the strides specified by CmdSetVertexInputEXT */
|
||||
|
||||
if (chip == GFX6 || chip >= GFX10) {
|
||||
const uint32_t bit = 1u << idx;
|
||||
|
|
@ -4602,6 +4601,7 @@ radv_CmdBindVertexBuffers2EXT(VkCommandBuffer commandBuffer, uint32_t firstBindi
|
|||
}
|
||||
}
|
||||
|
||||
/* if pStrides=NULL, it shouldn't overwrite the strides specified by CmdSetVertexInputEXT */
|
||||
if (pStrides)
|
||||
vb[idx].stride = stride;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue