51 const int old_size =
g_state.buffer->storage.size();
52 g_state.buffer->storage.resize(old_size + hit_len);
54 g_state.buffer->storage.as_mutable_span().slice(old_size, hit_len);
#define BLI_assert_unreachable()
BLI_INLINE int BLI_rcti_size_y(const struct rcti *rct)
BLI_INLINE int BLI_rcti_size_x(const struct rcti *rct)
@ GPU_SELECT_NEAREST_SECOND_PASS
@ GPU_SELECT_NEAREST_FIRST_PASS
@ GPU_SELECT_PICK_NEAREST
constexpr void copy_from(Span< T > values) const
void gpu_select_next_begin(GPUSelectBuffer *buffer, const rcti *input, GPUSelectMode mode)
void gpu_select_next_set_result(GPUSelectResult *hit_buf, uint hit_len)
int gpu_select_next_get_pick_area_center()
GPUSelectMode gpu_select_next_get_mode()
static GPUSelectNextState g_state
uint gpu_select_next_end()