}
for (i = 0; i < MAX_SETS; i++) {
- if (!(cmd_buffer->state.descriptors_dirty & (1 << i)))
+ if (!(cmd_buffer->state.descriptors_dirty & (1u << i)))
continue;
struct radv_descriptor_set *set = cmd_buffer->state.descriptors[i];
if (!set)
struct radeon_winsys *ws = cmd_buffer->device->ws;
cmd_buffer->state.descriptors[idx] = set;
- cmd_buffer->state.descriptors_dirty |= (1 << idx);
+ cmd_buffer->state.descriptors_dirty |= (1u << idx);
if (!set)
return;
descriptorWriteCount, pDescriptorWrites, 0, NULL);
cmd_buffer->state.descriptors[set] = push_set;
- cmd_buffer->state.descriptors_dirty |= (1 << set);
+ cmd_buffer->state.descriptors_dirty |= (1u << set);
}
void radv_CmdPushDescriptorSetKHR(
descriptorWriteCount, pDescriptorWrites, 0, NULL);
cmd_buffer->state.descriptors[set] = push_set;
- cmd_buffer->state.descriptors_dirty |= (1 << set);
+ cmd_buffer->state.descriptors_dirty |= (1u << set);
cmd_buffer->state.push_descriptors_dirty = true;
}
descriptorUpdateTemplate, pData);
cmd_buffer->state.descriptors[set] = push_set;
- cmd_buffer->state.descriptors_dirty |= (1 << set);
+ cmd_buffer->state.descriptors_dirty |= (1u << set);
cmd_buffer->state.push_descriptors_dirty = true;
}
for (unsigned i = 0; i < MAX_SETS; i++) {
if (cmd_buffer->state.descriptors[i])
- cmd_buffer->state.descriptors_dirty |= (1 << i);
+ cmd_buffer->state.descriptors_dirty |= (1u << i);
}
switch (pipelineBindPoint) {