Home
last modified time | relevance | path

Searched refs:cs_shader_state (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/
Devergreen_compute.c501 rctx->cs_shader_state.shader = (struct r600_pipe_compute *)state; in evergreen_bind_compute_state()
513 rctx->cs_shader_state.shader = (struct r600_pipe_compute *)state; in evergreen_bind_compute_state()
531 struct r600_pipe_compute *shader = rctx->cs_shader_state.shader; in evergreen_compute_upload_input()
602 struct r600_pipe_compute *shader = rctx->cs_shader_state.shader; in evergreen_emit_dispatch()
742 if (rctx->cs_shader_state.shader->ir_type == PIPE_SHADER_IR_TGSI|| in compute_emit_cs()
743 rctx->cs_shader_state.shader->ir_type == PIPE_SHADER_IR_NIR) { in compute_emit_cs()
744 if (r600_shader_select(&rctx->b.b, rctx->cs_shader_state.shader->sel, &compute_dirty)) { in compute_emit_cs()
749 current = rctx->cs_shader_state.shader->sel->current; in compute_emit_cs()
751 rctx->cs_shader_state.atom.num_dw = current->command_buffer.num_dw; in compute_emit_cs()
753 r600_set_atom_dirty(rctx, &rctx->cs_shader_state.atom, true); in compute_emit_cs()
[all …]
Dr600_pipe.h555 struct r600_cs_shader_state cs_shader_state; member
Devergreen_state.c4401 st->saved_compute = rctx->cs_shader_state.shader; in evergreen_save_qbo_state()
4440 r600_init_atom(rctx, &rctx->cs_shader_state.atom, id++, evergreen_emit_cs_shader, 0); in evergreen_init_state_functions()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c294 sctx->cs_shader_state.program = program; in si_bind_compute_state()
332 struct si_compute *program = sctx->cs_shader_state.program; in si_set_global_binding()
486 if (sctx->cs_shader_state.emitted_program == program && sctx->cs_shader_state.offset == offset) in si_switch_compute_shader()
560 sctx->cs_shader_state.emitted_program = program; in si_switch_compute_shader()
561 sctx->cs_shader_state.offset = offset; in si_switch_compute_shader()
562 sctx->cs_shader_state.uses_scratch = config->scratch_bytes_per_wave != 0; in si_switch_compute_shader()
609 struct si_compute *program = sctx->cs_shader_state.program; in si_setup_user_sgprs_co_v2()
691 struct si_compute *program = sctx->cs_shader_state.program; in si_upload_compute_input()
724 struct si_compute *program = sctx->cs_shader_state.program; in si_setup_nir_user_data()
866 struct si_shader_info *info = &sctx->cs_shader_state.program->sel.info; in si_check_needs_implicit_sync()
[all …]
Dsi_descriptors.c884 ctx->cs_shader_state.program && in si_set_shader_images()
885 start_slot < ctx->cs_shader_state.program->sel.cs_num_images_in_user_sgprs) in si_set_shader_images()
1358 sctx->cs_shader_state.program && in si_set_shader_buffers()
1359 start_slot < sctx->cs_shader_state.program->sel.cs_num_shaderbufs_in_user_sgprs) in si_set_shader_buffers()
2143 struct si_shader_selector *shader = &sctx->cs_shader_state.program->sel; in si_emit_compute_shader_pointers()
2843 struct si_shader_info* info = &sctx->cs_shader_state.program->sel.info; in si_compute_resources_check_encrypted()
Dsi_debug.c178 const struct si_cs_shader_state *state = &ctx->cs_shader_state; in si_dump_compute_shader()
828 if (!sctx->cs_shader_state.program) in si_dump_compute_descriptors()
Dsi_blit.c820 if (sctx->cs_shader_state.program->sel.info.uses_bindless_samplers) in si_decompress_textures()
822 if (sctx->cs_shader_state.program->sel.info.uses_bindless_images) in si_decompress_textures()
Dsi_sqtt.c988 shader = &sctx->cs_shader_state.program->shader; in si_sqtt_add_code_object()
Dsi_gfx_cs.c402 ctx->cs_shader_state.initialized = false; in si_begin_new_gfx_cs()
Dsi_compute_blit.c92 void *saved_cs = sctx->cs_shader_state.program; in si_launch_grid_internal()
Dsi_pipe.h1028 struct si_cs_shader_state cs_shader_state; member