Home
last modified time | relevance | path

Searched refs:gs_copy_shader (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c1880 shader->gs_copy_shader = si_generate_gs_copy_shader(sscreen, compiler, sel, &so, debug); in si_compile_shader()
1881 if (!shader->gs_copy_shader) { in si_compile_shader()
1895 vs_output_param_offset = shader->gs_copy_shader->info.vs_output_param_offset; in si_compile_shader()
2501 assert(sel->main_shader_part->gs_copy_shader); in si_create_shader_variant()
2502 assert(sel->main_shader_part->gs_copy_shader->bo); in si_create_shader_variant()
2503 assert(!sel->main_shader_part->gs_copy_shader->previous_stage_sel); in si_create_shader_variant()
2504 assert(!sel->main_shader_part->gs_copy_shader->scratch_bo); in si_create_shader_variant()
2506 shader->gs_copy_shader = CALLOC_STRUCT(si_shader); in si_create_shader_variant()
2507 memcpy(shader->gs_copy_shader, sel->main_shader_part->gs_copy_shader, in si_create_shader_variant()
2508 sizeof(*shader->gs_copy_shader)); in si_create_shader_variant()
[all …]
Dsi_state_shaders.cpp321 shader->gs_copy_shader = CALLOC_STRUCT(si_shader); in si_load_shader_binary()
322 if (!shader->gs_copy_shader) in si_load_shader_binary()
325 shader->gs_copy_shader->is_gs_copy_shader = true; in si_load_shader_binary()
327 if (!si_load_shader_binary(shader->gs_copy_shader, (uint8_t*)binary + size)) { in si_load_shader_binary()
328 FREE(shader->gs_copy_shader); in si_load_shader_binary()
329 shader->gs_copy_shader = NULL; in si_load_shader_binary()
333 util_queue_fence_init(&shader->gs_copy_shader->ready); in si_load_shader_binary()
334 shader->gs_copy_shader->selector = shader->selector; in si_load_shader_binary()
335 shader->gs_copy_shader->is_gs_copy_shader = true; in si_load_shader_binary()
336 shader->gs_copy_shader->wave_size = in si_load_shader_binary()
[all …]
Dsi_shader.h849 struct si_shader *gs_copy_shader; member
Dsi_state_draw.cpp176 si_pm4_bind_state(sctx, vs, sctx->shader.gs.current->gs_copy_shader); in si_update_shaders()
242 key.u.vs_wave32 = sctx->shader.gs.current->gs_copy_shader->wave_size == 32; in si_update_shaders()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.h171 struct r600_pipe_shader *gs_copy_shader; member
Dr600_state.c2027 num_gprs[R600_HW_STAGE_VS] = rctx->gs_shader->current->gs_copy_shader->shader.bc.ngpr; in r600_adjust_gprs()
2662 struct r600_shader *cp_shader = &shader->gs_copy_shader->shader; in r600_update_gs_state()
Dr600_state_common.c1867 …ate_shader_atom(ctx, &rctx->hw_shader_stages[(hw2)], rctx->sw##_shader->current->gs_copy_shader); \
1868 clip_so_current = rctx->sw##_shader->current->gs_copy_shader; \
Dr600_shader.c304 if (shader->gs_copy_shader) { in r600_pipe_shader_create()
307 r = r600_sb_bytecode_process(rctx, &shader->gs_copy_shader->shader.bc, in r600_pipe_shader_create()
308 &shader->gs_copy_shader->shader, dump, 0); in r600_pipe_shader_create()
313 if ((r = store_shader(ctx, shader->gs_copy_shader))) in r600_pipe_shader_create()
335 evergreen_update_vs_state(ctx, shader->gs_copy_shader); in r600_pipe_shader_create()
338 r600_update_vs_state(ctx, shader->gs_copy_shader); in r600_pipe_shader_create()
2874 gs->gs_copy_shader = cshader; in generate_gs_copy_shader()
Devergreen_state.c3538 struct r600_shader *cp_shader = &shader->gs_copy_shader->shader; in evergreen_update_gs_state()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline.c156 return !!pipeline->gs_copy_shader; in radv_pipeline_has_gs_copy_shader()
222 if (pipeline->gs_copy_shader) in radv_pipeline_destroy()
223 radv_shader_destroy(device, pipeline->gs_copy_shader); in radv_pipeline_destroy()
2776 return &pipeline->base.gs_copy_shader->info.vs.outinfo; in get_vs_output_info()
4081 if (pipeline->gs_copy_shader) { in radv_upload_shaders()
4082 code_size += align(pipeline->gs_copy_shader->code_size, RADV_SHADER_ALLOC_ALIGNMENT); in radv_upload_shaders()
4111 if (pipeline->gs_copy_shader) { in radv_upload_shaders()
4112 pipeline->gs_copy_shader->va = slab_va + slab_offset; in radv_upload_shaders()
4115 if (!radv_shader_binary_upload(device, gs_copy_binary, pipeline->gs_copy_shader, dest_ptr)) in radv_upload_shaders()
4528 pipeline->gs_copy_shader = in radv_pipeline_nir_to_asm()
[all …]
Dradv_pipeline_cache.c393 pipeline->gs_copy_shader = pipeline->shaders[MESA_SHADER_COMPUTE]; in radv_create_shaders_from_pipeline_cache()
Dradv_shader.c2198 struct radv_nir_compiler_options *options, bool gs_copy_shader, argument
2213 …options->dump_shader = radv_can_dump_shader(device, shaders[0], gs_copy_shader || trap_handler_sha…
Dradv_private.h2116 struct radv_shader *gs_copy_shader; member
Dradv_cmd_buffer.c1312 radv_emit_shader_prefetch(cmd_buffer, pipeline->base.gs_copy_shader); in radv_emit_prefetch_L2()
3907 … loc = &pipeline->base.gs_copy_shader->info.user_sgprs_locs.shader_data[AC_UD_STREAMOUT_BUFFERS]; in radv_emit_streamout_buffers()
6578 &pipeline->base.gs_copy_shader->info.user_sgprs_locs.shader_data[AC_UD_VIEW_INDEX]; in radv_emit_view_index()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp901 assert(pipeshader->gs_copy_shader); in r600_shader_from_nir()
/third_party/mesa3d/docs/relnotes/
D20.1.0.rst3419 - radeonsi: don't print gs_copy_shader stats for shaderdb
D20.2.0.rst3697 - radeonsi: don't print gs_copy_shader stats for shaderdb