Home
last modified time | relevance | path

Searched refs:nir_shader_clone (Results 1 - 25 of 37) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_assemble.c48 nir_shader *s = nir_shader_clone(NULL, ir); in panfrost_shader_compile()
52 nir_shader *xfb = nir_shader_clone(NULL, s); in panfrost_shader_compile()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_pipeline.c857 pipeline->pipeline_nir[MESA_SHADER_FRAGMENT] = nir_shader_clone(pipeline->mem_ctx, p->pipeline_nir[MESA_SHADER_FRAGMENT]); in lvp_graphics_pipeline_init()
862 pipeline->pipeline_nir[j] = nir_shader_clone(pipeline->mem_ctx, p->pipeline_nir[j]); in lvp_graphics_pipeline_init()
890 nir_shader_clone(NULL, pipeline->pipeline_nir[stage])); in lvp_graphics_pipeline_init()
903 shstate.ir.nir = nir_shader_clone(NULL, pipeline->pipeline_nir[MESA_SHADER_FRAGMENT]); in lvp_graphics_pipeline_init()
1011 pipeline->shader_cso[PIPE_SHADER_COMPUTE] = lvp_pipeline_compile(pipeline, nir_shader_clone(NULL, pipeline->pipeline_nir[MESA_SHADER_COMPUTE])); in lvp_compute_pipeline_init()
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_pstipple.c148 pstip_fs.ir.nir = nir_shader_clone(NULL, orig_fs->ir.nir); in generate_pstip_fs()
352 pstipfs->state.ir.nir = nir_shader_clone(NULL, fs->ir.nir); in pstip_create_fs_state()
H A Ddraw_pipe_aapoint.c416 aapoint_fs.ir.nir = nir_shader_clone(NULL, orig_fs->ir.nir); in generate_aapoint_fs_nir()
747 aafs->state.ir.nir = nir_shader_clone(NULL, fs->ir.nir); in aapoint_create_fs_state()
H A Ddraw_pipe_aaline.c323 aaline_fs.ir.nir = nir_shader_clone(NULL, orig_fs->ir.nir); in generate_aaline_fs_nir()
641 aafs->state.ir.nir = nir_shader_clone(NULL, fs->ir.nir); in aaline_create_fs_state()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_multiview.c153 nir_shader *shader_no_position = nir_shader_clone(NULL, shader); in shader_only_position_uses_view_index()
H A Dnir_lower_shader_calls.c1201 resume_shaders[i] = nir_shader_clone(mem_ctx, shader); in nir_lower_shader_calls()
H A Dnir_clone.c749 nir_shader_clone(void *mem_ctx, const nir_shader *s) in nir_shader_clone() function
H A Dnir.h4330 nir_shader *nir_shader_clone(void *mem_ctx, const nir_shader *s);
4389 nir_shader *clone = nir_shader_clone(ralloc_parent(nir), nir); \
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_nir_lower_intersection_shader.c140 nir_shader *any_hit_tmp = nir_shader_clone(dead_ctx, any_hit); in brw_nir_lower_intersection_shader()
H A Dbrw_mesh.cpp232 nir_shader *shader = nir_shader_clone(mem_ctx, nir); in brw_compile_task()
733 nir_shader *shader = nir_shader_clone(mem_ctx, nir); in brw_compile_mesh()
/third_party/mesa3d/src/gallium/drivers/asahi/
H A Dagx_blit.c65 nir_shader *s = nir_shader_clone(NULL, b.shader); in agx_build_reload_shader()
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_pipeline.c80 nir_shader *clone = nir_shader_clone(mem_ctx, module->nir); in vk_pipeline_shader_stage_to_nir()
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_program.c297 nir_shader *nir = nir_shader_clone(fs, ufs->base.ir.nir); in lima_fs_compile_shader()
483 nir_shader *nir = nir_shader_clone(vs, uvs->base.ir.nir); in lima_vs_compile_shader()
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_program.c1323 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in iris_compile_vs()
1513 nir = nir_shader_clone(mem_ctx, ish->nir); in iris_compile_tcs()
1692 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in iris_compile_tes()
1831 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in iris_compile_gs()
1965 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in iris_compile_fs()
2257 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in iris_compile_cs()
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_program.c1196 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in crocus_compile_vs()
1423 nir = nir_shader_clone(mem_ctx, ish->nir); in crocus_compile_tcs()
1582 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in crocus_compile_tes()
1722 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in crocus_compile_gs()
1859 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in crocus_compile_fs()
2556 nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir); in crocus_compile_cs()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs_linear_llvm.c173 nir_shader *clone = nir_shader_clone(NULL, shader->base.ir.nir); in llvm_fragment_body()
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_context.c80 ctx->s = nir_shader_clone(ctx, shader->nir); in ir3_context_init()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_nir.cpp728 auto sh = nir_shader_clone(sel->nir, sel->nir); in r600_shader_from_nir()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_program.c349 info->bin.source = (void *)nir_shader_clone(NULL, prog->pipe.ir.nir); in nv50_program_translate()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_program.c419 prog->nir[producer->info.stage] = nir_shader_clone(prog, producer); in assign_io()
421 prog->nir[j] = nir_shader_clone(prog, consumer->nir); in assign_io()
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_context.c692 nir_shader *s = nir_shader_clone(NULL, shader->ir.nir); in virgl_shader_encoder()
1382 nir_shader *s = nir_shader_clone(NULL, state->prog); in virgl_create_compute_state()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_compiler_nir.c1071 c->nir = nir_shader_clone(NULL, v->shader->nir); in etna_compile_shader()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dir2_nir.c1104 ctx->nir = nir_shader_clone(NULL, so->nir); in ir2_nir_compile()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_program.c599 info->bin.source = (void *)nir_shader_clone(NULL, prog->pipe.ir.nir); in nvc0_program_translate()

Completed in 37 milliseconds

12