Searched refs:util_is_power_of_two_nonzero (Results 1 – 24 of 24) sorted by relevance
40 assert(util_is_power_of_two_nonzero(size)); in u_vector_init()41 assert(element_size < size && util_is_power_of_two_nonzero(element_size)); in u_vector_init()
143 util_is_power_of_two_nonzero(unsigned v) in util_is_power_of_two_nonzero() function
697 assert(util_is_power_of_two_nonzero(alignment)); in ALIGN()725 assert(util_is_power_of_two_nonzero(alignment)); in ROUND_DOWN_TO()
247 assert(util_is_power_of_two_nonzero(nir_intrinsic_write_mask(intr) + 1)); in lower_block_to_explicit_output()537 assert(util_is_power_of_two_nonzero(nir_intrinsic_write_mask(intr) + 1)); in lower_tess_ctrl_block()589 assert(util_is_power_of_two_nonzero(nir_intrinsic_write_mask(intr) + 1)); in lower_tess_ctrl_block()
163 assert(util_is_power_of_two_nonzero(align_mul)); in ir3_nir_should_vectorize_mem()
154 assert(util_is_power_of_two_nonzero(s->align)); in layout_symbols()212 report_if(!util_is_power_of_two_nonzero(s.align)); in read_private_lds_symbols()
980 if (width > 0 && !util_is_power_of_two_nonzero(width - 2 * border)) in _mesa_legal_texture_dimensions()995 if (width > 0 && !util_is_power_of_two_nonzero(width - 2 * border)) in _mesa_legal_texture_dimensions()997 if (height > 0 && !util_is_power_of_two_nonzero(height - 2 * border)) in _mesa_legal_texture_dimensions()1013 if (width > 0 && !util_is_power_of_two_nonzero(width - 2 * border)) in _mesa_legal_texture_dimensions()1015 if (height > 0 && !util_is_power_of_two_nonzero(height - 2 * border)) in _mesa_legal_texture_dimensions()1017 if (depth > 0 && !util_is_power_of_two_nonzero(depth - 2 * border)) in _mesa_legal_texture_dimensions()1050 if (width > 0 && !util_is_power_of_two_nonzero(width - 2 * border)) in _mesa_legal_texture_dimensions()1052 if (height > 0 && !util_is_power_of_two_nonzero(height - 2 * border)) in _mesa_legal_texture_dimensions()1065 if (width > 0 && !util_is_power_of_two_nonzero(width - 2 * border)) in _mesa_legal_texture_dimensions()1082 if (width > 0 && !util_is_power_of_two_nonzero(width - 2 * border)) in _mesa_legal_texture_dimensions()[all …]
439 validate_assert(state, util_is_power_of_two_nonzero(instr->cast.align_mul)); in validate_deref_instr()658 util_is_power_of_two_nonzero(nir_intrinsic_align_mul(instr))); in validate_intrinsic_instr()680 util_is_power_of_two_nonzero(nir_intrinsic_align_mul(instr))); in validate_intrinsic_instr()1383 validate_assert(state, util_is_power_of_two_nonzero(var->data.mode)); in validate_var_decl()
66 assert(util_is_power_of_two_nonzero(dst_bit_size)); in lower_alu_instr()
48 assert(util_is_power_of_two_nonzero(old_bit_size)); in nir_component_mask_can_reinterpret()49 assert(util_is_power_of_two_nonzero(new_bit_size)); in nir_component_mask_can_reinterpret()
878 } else if (util_is_power_of_two_nonzero(y)) { in nir_udiv_imm()
2257 assert(util_is_power_of_two_nonzero(align)); in lower_vars_to_explicit()
2099 assert(util_is_power_of_two_nonzero(align_mul)); in INTRINSIC_IDX_ACCESSORS()
116 assert(util_is_power_of_two_nonzero(num_dwords_per_thread)); in si_create_dma_compute_shader()
487 if (!util_is_power_of_two_nonzero(pattern_size) || in clEnqueueFillBuffer()1075 !util_is_power_of_two_nonzero(pattern_size) || in EnqueueSVMMemFill()
1004 assert(util_is_power_of_two_nonzero(s)); in spread()
2038 assert(util_is_power_of_two_nonzero(dst.writemask)); in generate_code()
1066 assert(util_is_power_of_two_nonzero(width)); in flag_mask()2239 assert(a.mul > 0 && util_is_power_of_two_nonzero(a.mul)); in cplx_align_assert_sane()2291 assert(alignment > 0 && util_is_power_of_two_nonzero(alignment)); in mark_uniform_slots_read()
194 assert(op->bpp > 0 && util_is_power_of_two_nonzero(op->bpp)); in emit_blt_inplace()
1882 assert(util_is_power_of_two_nonzero(surface->bpe)); in radv_GetImageSubresourceLayout()
529 assert(util_is_power_of_two_nonzero(alignment)); in radv_cmd_buffer_upload_alloc()
674 assert(util_is_power_of_two_nonzero(explicit_alignment)); in VECN()
40 if (!util_is_power_of_two_nonzero(alignment)) { in vtn_align_pointer()
3534 assert(util_is_power_of_two_nonzero(align)); in load_lds()3660 assert(util_is_power_of_two_nonzero(align)); in store_lds()3661 assert(util_is_power_of_two_nonzero(elem_size_bytes) && elem_size_bytes <= 8); in store_lds()