Home
last modified time | relevance | path

Searched refs:msb_idx_u32 (Results 1 – 9 of 9) sorted by relevance

/external/skqp/src/compute/common/
Dutil.c60 return 1u << msb_idx_u32(n); in pow2_rd_u32()
68 msb_idx_u32(uint32_t n) in msb_idx_u32() function
Dutil.h25 uint32_t msb_idx_u32(uint32_t n); // 0-based bit position
/external/skqp/src/compute/hs/gen/
Dtarget_cuda.c150 uint32_t const bc_max = msb_idx_u32(pow2_rd_u32(merge->warps)); in hsg_target_cuda()
186 msb_idx_u32(pow2_ru_u32(merge->warps)), in hsg_target_cuda()
311 uint32_t const msb = msb_idx_u32(bs); in hsg_target_cuda()
357 uint32_t const msb = msb_idx_u32(m->warps); in hsg_target_cuda()
407 uint32_t const msb = msb_idx_u32(pow2_ru_u32(merge[0].warps)); in hsg_target_cuda()
Dtarget_opencl.c153 uint32_t const bc_max = msb_idx_u32(pow2_rd_u32(merge->warps)); in hsg_target_opencl()
187 msb_idx_u32(pow2_ru_u32(merge->warps)), in hsg_target_opencl()
289 uint32_t const msb = msb_idx_u32(bs); in hsg_target_opencl()
318 uint32_t const msb = msb_idx_u32(m->warps); in hsg_target_opencl()
Dtarget_glsl.c166 uint32_t const bc_max = msb_idx_u32(pow2_rd_u32(merge->warps)); in hsg_target_glsl()
198 msb_idx_u32(pow2_ru_u32(merge->warps)), in hsg_target_glsl()
303 uint32_t const msb = msb_idx_u32(bs); in hsg_target_glsl()
348 uint32_t const msb = msb_idx_u32(m->warps); in hsg_target_glsl()
Dmain.c1235 ops = hsg_op(ops,FM_KERNEL_PROTO(scale_log2,msb_idx_u32(pow2_ru_u32(span_right)))); in hsg_fm_merge()
1462 hsg_config.warp.lanes_log2 = msb_idx_u32(hsg_config.warp.lanes); in main()
/external/skqp/src/compute/hs/vk/
Dhs_vk.c411 hs->pipelines.fm[scale_log2][msb_idx_u32(frac_fm)]); in hs_fm()
446 uint32_t const frac_idx = msb_idx_u32(frac_bs); in hs_bs()
451 hs->pipelines.bs[msb_idx_u32(frac_bs)]); in hs_bs()
829 uint32_t const bs_slabs_log2_ru = msb_idx_u32(pow2_ru_u32(target->config.block.slabs)); in hs_vk_create()
830 uint32_t const bc_slabs_log2_max = msb_idx_u32(pow2_rd_u32(target->config.block.slabs)); in hs_vk_create()
847 count_fm[scale] = msb_idx_u32(pow2_ru_u32(fm_left)) + 1; in hs_vk_create()
/external/skqp/src/compute/hs/cl/
Dhs_cl.c438 cl_kernel kernel_frac = hs->kernels.fm[scale_log2][msb_idx_u32(fm_frac)]; in hs_fm_enqueue()
578 cl_kernel kernel_frac = hs->kernels.bs[msb_idx_u32(frac)]; in hs_bs_enqueue()
1040 uint32_t const bs_slabs_log2_ru = msb_idx_u32(pow2_ru_u32(target->config.block.slabs)); in hs_cl_create()
1041 uint32_t const bc_slabs_log2_max = msb_idx_u32(pow2_rd_u32(target->config.block.slabs)); in hs_cl_create()
1058 count_fm[scale] = msb_idx_u32(pow2_ru_u32(fm_left)) + 1; in hs_cl_create()
/external/skqp/src/compute/hs/cuda/
Dhs_cuda.inl776 hs_kernels_offset_fm[scale_log2-HS_FM_SCALE_MIN][msb_idx_u32(frac_fm)]
820 hs_kernels_offset_bs[msb_idx_u32(frac_bs)]