/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_assemble.c | 48 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 D | lvp_pipeline.c | 857 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 D | draw_pipe_pstipple.c | 148 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 D | draw_pipe_aapoint.c | 416 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 D | draw_pipe_aaline.c | 323 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 D | nir_lower_multiview.c | 153 nir_shader *shader_no_position = nir_shader_clone(NULL, shader); in shader_only_position_uses_view_index()
|
H A D | nir_lower_shader_calls.c | 1201 resume_shaders[i] = nir_shader_clone(mem_ctx, shader); in nir_lower_shader_calls()
|
H A D | nir_clone.c | 749 nir_shader_clone(void *mem_ctx, const nir_shader *s) in nir_shader_clone() function
|
H A D | nir.h | 4330 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 D | brw_nir_lower_intersection_shader.c | 140 nir_shader *any_hit_tmp = nir_shader_clone(dead_ctx, any_hit); in brw_nir_lower_intersection_shader()
|
H A D | brw_mesh.cpp | 232 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 D | agx_blit.c | 65 nir_shader *s = nir_shader_clone(NULL, b.shader); in agx_build_reload_shader()
|
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_pipeline.c | 80 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 D | lima_program.c | 297 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 D | iris_program.c | 1323 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 D | crocus_program.c | 1196 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 D | lp_state_fs_linear_llvm.c | 173 nir_shader *clone = nir_shader_clone(NULL, shader->base.ir.nir); in llvm_fragment_body()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_context.c | 80 ctx->s = nir_shader_clone(ctx, shader->nir); in ir3_context_init()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_nir.cpp | 728 auto sh = nir_shader_clone(sel->nir, sel->nir); in r600_shader_from_nir()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_program.c | 349 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 D | zink_program.c | 419 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 D | virgl_context.c | 692 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 D | etnaviv_compiler_nir.c | 1071 c->nir = nir_shader_clone(NULL, v->shader->nir); in etna_compile_shader()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | ir2_nir.c | 1104 ctx->nir = nir_shader_clone(NULL, so->nir); in ir2_nir_compile()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_program.c | 599 info->bin.source = (void *)nir_shader_clone(NULL, prog->pipe.ir.nir); in nvc0_program_translate()
|