June 15, 2021 12:39 AM, "Henri Verbeet" hverbeet@gmail.com wrote:
- if (current->register_space != register_space || current->register_index != reg_idx)
- if (current->register_space != register_space || current->register_index > register_first
- || current->register_index + current->binding.count <= register_last)
continue;
I thought UAV counter descriptor arrays were unsupported?
This ensures the correct error message is returned, i.e. "Descriptor arrays are not supported" instead of "Could not find binding." It's possible to separately check register_last == register_first, but this would require yet another error message. But I should probably add register_last to the existing message.