Home
last modified time | relevance | path

Searched refs:mem_dup (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_blend.c42 return mem_dup(blend, sizeof(*blend)); in softpipe_create_blend_state()
92 return mem_dup(depth_stencil, sizeof(*depth_stencil)); in softpipe_create_depth_stencil_state()
Dsp_state_rasterizer.c40 return mem_dup(rast, sizeof(*rast)); in softpipe_create_rasterizer_state()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_blend.c48 struct pipe_blend_state *state = mem_dup(blend, sizeof *blend); in llvmpipe_create_blend_state()
115 state = mem_dup(depth_stencil, sizeof *depth_stencil); in llvmpipe_create_depth_stencil_state()
Dlp_state_sampler.c49 struct pipe_sampler_state *state = mem_dup(sampler, sizeof *sampler); in llvmpipe_create_sampler_state()
/third_party/mesa3d/src/util/
Du_memory.h78 mem_dup(const void *src, size_t size) in mem_dup() function
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_opt_dce.c74 uint16_t *live = mem_dup(block->base.live_out, ctx->temp_count * sizeof(uint16_t)); in midgard_opt_dead_code_eliminate_block()
Dmir_promote_uniforms.c190 uint16_t *live = mem_dup(block->base.live_out, ctx->temp_count * sizeof(uint16_t)); in mir_estimate_pressure()
Dmidgard_ra.c353 uint16_t *live = mem_dup(_blk->live_out, ctx->temp_count * sizeof(uint16_t)); in mir_compute_interference()
/third_party/mesa3d/src/gallium/frontends/nine/
Dpixelshader9.c77 This->byte_code.tokens = mem_dup(pFunction, info.byte_size); in NinePixelShader9_ctor()
Dvertexshader9.c92 This->byte_code.tokens = mem_dup(pFunction, info.byte_size); in NineVertexShader9_ctor()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_ra.c286 uint8_t *live = mem_dup(blk->live_out, node_count); in bi_compute_interference()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp183 state = (pipe_depth_stencil_alpha_state *)mem_dup(depth_stencil, in swr_create_depth_stencil_state()
214 state = (pipe_rasterizer_state *)mem_dup(rast, sizeof *rast); in swr_create_rasterizer_state()
246 (pipe_sampler_state *)mem_dup(sampler, sizeof *sampler); in swr_create_sampler_state()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_resource.c735 res->modifiers = mem_dup(modifiers, modifiers_count * sizeof(uint64_t)); in resource_create()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_tgsi.c2492 v->code = mem_dup(c->code, c->inst_ptr * 16); in etna_compile_shader()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c248 mem_dup(ir_sha1_cache_key, 20), in si_shader_cache_insert_shader()