Home
last modified time | relevance | path

Searched refs:scratch_size (Results 1 - 25 of 38) sorted by relevance

12

/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-graphite2.cc256 unsigned int scratch_size; in _hb_graphite2_shape() local
257 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape()
294 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape()
296 DIV_CEIL (sizeof (hb_codepoint_t) * glyph_count, sizeof (*scratch))) > scratch_size) in _hb_graphite2_shape()
304 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape()
311 assert (_consumed <= scratch_size); \ in _hb_graphite2_shape()
313 scratch_size -= _consumed; \ in _hb_graphite2_shape()
H A Dhb-directwrite.cc561 unsigned int scratch_size; in _hb_directwrite_shape() local
562 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_directwrite_shape()
567 assert (_consumed <= scratch_size); \ in _hb_directwrite_shape()
569 scratch_size -= _consumed; \ in _hb_directwrite_shape()
705 unsigned int glyphs_size = (scratch_size * sizeof (int) - 2) in _hb_directwrite_shape()
H A Dhb-uniscribe.cc605 unsigned int scratch_size; in _hb_uniscribe_shape() local
606 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_uniscribe_shape()
612 assert (_consumed <= scratch_size); \ in _hb_uniscribe_shape()
614 scratch_size -= _consumed; \ in _hb_uniscribe_shape()
655 unsigned int glyphs_size = (scratch_size * sizeof (int) - 2) in _hb_uniscribe_shape()
H A Dhb-coretext.cc687 unsigned int scratch_size; in _hb_coretext_shape() local
688 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
694 if (unlikely (_consumed > scratch_size)) \ in _hb_coretext_shape()
700 scratch_size -= _consumed; \ in _hb_coretext_shape()
764 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
768 scratch_size -= old_scratch_used; in _hb_coretext_shape()
1056 unsigned int scratch_size_saved = scratch_size; \ in _hb_coretext_shape()
1060 scratch_size = scratch_size_saved; \ in _hb_coretext_shape()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state_draw.cpp329 unsigned scratch_size = 0; in si_update_shaders() local
333 scratch_size = MAX2(scratch_size, sctx->shader.vs.current->config.scratch_bytes_per_wave); in si_update_shaders()
335 scratch_size = MAX2(scratch_size, sctx->queued.named.hs->config.scratch_bytes_per_wave); in si_update_shaders()
339 scratch_size = MAX2(scratch_size, sctx->shader.tes.current->config.scratch_bytes_per_wave); in si_update_shaders()
341 scratch_size = MAX2(scratch_size, sctx->shader.gs.current->config.scratch_bytes_per_wave); in si_update_shaders()
343 scratch_size in si_update_shaders()
[all...]
H A Dsi_cp_dma.c253 unsigned scratch_size = SI_CPDMA_ALIGNMENT * 2; in si_cp_dma_realign_engine() local
260 if (!sctx->scratch_buffer || sctx->scratch_buffer->b.b.width0 < scratch_size) { in si_cp_dma_realign_engine()
265 PIPE_USAGE_DEFAULT, scratch_size, 256); in si_cp_dma_realign_engine()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_scratch.c213 var->data.location = ALIGN_POT(shader->scratch_size, var_align); in nir_lower_vars_to_scratch()
214 shader->scratch_size = var->data.location + var_size; in nir_lower_vars_to_scratch()
H A Dnir_lower_shader_calls.c318 * nir_shader::scratch_size. in spill_ssa_defs_and_lower_shader_calls()
382 unsigned max_scratch_size = shader->scratch_size; in spill_ssa_defs_and_lower_shader_calls()
411 unsigned offset = shader->scratch_size; in spill_ssa_defs_and_lower_shader_calls()
506 shader->scratch_size = max_scratch_size; in spill_ssa_defs_and_lower_shader_calls()
H A Dnir_clone.c782 ns->scratch_size = s->scratch_size; in nir_shader_clone()
H A Dnir_print.c1729 if (shader->scratch_size) in nir_print_shader_annotated()
1730 fprintf(fp, "scratch: %u\n", shader->scratch_size); in nir_print_shader_annotated()
H A Dnir_serialize.c2130 blob_write_uint32(blob, nir->scratch_size); in nir_serialize()
2184 ctx.nir->scratch_size = blob_read_uint32(blob); in nir_deserialize()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_nir_lower_shader_calls.c73 shader->scratch_size += BRW_BTD_STACK_CALLEE_DATA_SIZE; in brw_nir_lower_shader_returns()
332 nir->scratch_size = BRW_BTD_STACK_CALLEE_DATA_SIZE; in brw_nir_create_trivial_return_shader()
H A Dbrw_nir_lower_ray_queries.c544 state.state_scratch_base_offset = shader->scratch_size; in brw_nir_lower_ray_queries()
545 shader->scratch_size += SIZEOF_QUERY_STATE * state.n_queries; in brw_nir_lower_ray_queries()
H A Dbrw_kernel.c398 nir->scratch_size = 0; in brw_kernel_from_spirv()
H A Dbrw_nir_rt.c87 assert(shader->scratch_size >= BRW_BTD_STACK_CALLEE_DATA_SIZE); in lower_rt_io_derefs()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_instr_fetch.cpp633 LoadFromScratch::LoadFromScratch(const RegisterVec4& dst, const RegisterVec4::Swizzle& dst_swz, PVirtualValue addr, uint32_t scratch_size): in LoadFromScratch() argument
648 assert(scratch_size >= 1); in LoadFromScratch()
649 set_array_size(scratch_size - 1); in LoadFromScratch()
H A Dsfn_nir.cpp806 pipeshader->scratch_space_needed = sh->scratch_size; in r600_shader_from_nir()
H A Dsfn_shader.cpp449 m_scratch_size = nir->scratch_size; in set_info()
/third_party/mesa3d/src/amd/compiler/
H A Daco_instruction_selection_setup.cpp920 unsigned scratch_size = 0; in setup_isel_context() local
931 scratch_size = std::max(scratch_size, shaders[i]->scratch_size); in setup_isel_context()
934 ctx.program->config->scratch_bytes_per_wave = align(scratch_size * ctx.program->wave_size, 1024); in setup_isel_context()
/third_party/ffmpeg/libavutil/
H A Dvulkan.h229 unsigned int scratch_size; member
H A Dvulkan.c287 inval_list = av_fast_realloc(s->scratch, &s->scratch_size, in ff_vk_map_buffers()
325 flush_list = av_fast_realloc(s->scratch, &s->scratch_size, in ff_vk_unmap_buffers()
1402 s->scratch_size = 0; in ff_vk_uninit()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_nir.h259 unsigned scratch_size; member
H A Dlp_bld_nir_soa.c2525 unsigned scratch_size) in get_scratch_thread_offsets()
2535 elems[i] = LLVMConstInt(elem_type, scratch_size * i, 0); in get_scratch_thread_offsets()
2551 LLVMValueRef thread_offsets = get_scratch_thread_offsets(gallivm, uint_bld->type, bld->scratch_size);; in emit_load_scratch()
2605 LLVMValueRef thread_offsets = get_scratch_thread_offsets(gallivm, uint_bld->type, bld->scratch_size);; in emit_store_scratch()
2805 bld.scratch_size = ALIGN(shader->scratch_size, 8); in lp_build_nir_soa()
2806 if (shader->scratch_size) { in lp_build_nir_soa()
2809 lp_build_const_int32(gallivm, bld.scratch_size * type.length), in lp_build_nir_soa()
2523 get_scratch_thread_offsets(struct gallivm_state *gallivm, struct lp_type type, unsigned scratch_size) get_scratch_thread_offsets() argument
/third_party/mesa3d/src/microsoft/clc/
H A Dclc_compiler.c891 assert(nir->scratch_size == 0); in clc_spirv_to_dxil()
1017 nir->scratch_size = 0; in clc_spirv_to_dxil()
1147 metadata->priv_mem_size = nir->scratch_size; in clc_spirv_to_dxil()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_pipeline_rt.c746 reserve_stack_size(vars, shader->scratch_size); in insert_rt_case()
1804 b.shader->scratch_size = 16; in create_rt_shader()
1806 b.shader->scratch_size = compute_rt_stack_size(pCreateInfo, stack_sizes); in create_rt_shader()

Completed in 37 milliseconds

12