mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 02:10:12 +01:00
radv: make attrib_end variable in radv_flush_vertex_descriptors 32-bit
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Fixes: 1e9dc0474e ("radv: make radv_pipeline::attrib_ends 32bit")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11089>
This commit is contained in:
parent
8d0c76b143
commit
0f8fef1261
1 changed files with 1 additions and 1 deletions
|
|
@ -2874,7 +2874,7 @@ radv_flush_vertex_descriptors(struct radv_cmd_buffer *cmd_buffer, bool pipeline_
|
|||
|
||||
enum chip_class chip = cmd_buffer->device->physical_device->rad_info.chip_class;
|
||||
if (pipeline->use_per_attribute_vb_descs) {
|
||||
uint16_t attrib_end = pipeline->attrib_ends[i];
|
||||
uint32_t attrib_end = pipeline->attrib_ends[i];
|
||||
|
||||
if (num_records < attrib_end)
|
||||
num_records = 0; /* not enough space for one vertex */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue