Lines Matching refs:sctx

386 /* Indices into sctx->descriptors, laid out so that gfx and compute pipelines
469 #define si_pm4_state_changed(sctx, member) \
470 ((sctx)->queued.named.member != (sctx)->emitted.named.member)
472 #define si_pm4_state_enabled_and_changed(sctx, member) \
473 ((sctx)->queued.named.member && si_pm4_state_changed(sctx, member))
475 #define si_pm4_bind_state(sctx, member, value) \
477 (sctx)->queued.named.member = (value); \
478 if (value && value != (sctx)->emitted.named.member) \
479 (sctx)->dirty_states |= SI_STATE_BIT(member); \
481 (sctx)->dirty_states &= ~SI_STATE_BIT(member); \
492 void si_update_ps_colorbuf0_slot(struct si_context *sctx);
493 void si_invalidate_inlinable_uniforms(struct si_context *sctx, enum pipe_shader_type shader);
494 void si_get_pipe_constant_buffer(struct si_context *sctx, uint shader, uint slot,
500 void si_get_shader_buffers(struct si_context *sctx, enum pipe_shader_type shader, uint start_slot,
502 void si_set_ring_buffer(struct si_context *sctx, uint slot, struct pipe_resource *buffer,
505 void si_init_all_descriptors(struct si_context *sctx);
506 bool si_upload_graphics_shader_descriptors(struct si_context *sctx);
507 bool si_upload_compute_shader_descriptors(struct si_context *sctx);
508 void si_release_all_descriptors(struct si_context *sctx);
509 void si_gfx_resources_add_all_to_bo_list(struct si_context *sctx);
510 void si_compute_resources_add_all_to_bo_list(struct si_context *sctx);
511 bool si_gfx_resources_check_encrypted(struct si_context *sctx);
512 bool si_compute_resources_check_encrypted(struct si_context *sctx);
513 void si_shader_pointers_mark_dirty(struct si_context *sctx);
514 void si_add_all_descriptors_to_bo_list(struct si_context *sctx);
515 void si_update_all_texture_descriptors(struct si_context *sctx);
516 void si_shader_change_notify(struct si_context *sctx);
517 void si_update_needs_color_decompress_masks(struct si_context *sctx);
518 void si_emit_graphics_shader_pointers(struct si_context *sctx);
519 void si_emit_compute_shader_pointers(struct si_context *sctx);
520 void si_set_internal_const_buffer(struct si_context *sctx, uint slot,
522 void si_set_internal_shader_buffer(struct si_context *sctx, uint slot,
524 void si_set_active_descriptors(struct si_context *sctx, unsigned desc_idx,
526 void si_set_active_descriptors_for_shader(struct si_context *sctx, struct si_shader_selector *sel);
531 void si_rebind_buffer(struct si_context *sctx, struct pipe_resource *buf);
534 void si_init_state_compute_functions(struct si_context *sctx);
535 void si_init_state_functions(struct si_context *sctx);
537 void si_init_cs_preamble_state(struct si_context *sctx, bool uses_reg_shadowing);
541 void si_set_sampler_depth_decompress_mask(struct si_context *sctx, struct si_texture *tex);
542 void si_update_fb_dirtiness_after_rendering(struct si_context *sctx);
543 void si_mark_display_dcc_dirty(struct si_context *sctx, struct si_texture *tex);
544 void si_update_ps_iter_samples(struct si_context *sctx);
545 void si_save_qbo_state(struct si_context *sctx, struct si_qbo_state *st);
546 void si_restore_qbo_state(struct si_context *sctx, struct si_qbo_state *st);
547 void si_set_occlusion_query_state(struct si_context *sctx, bool old_perfect_enable);
561 void si_emit_dpbb_state(struct si_context *sctx);
573 void si_init_shader_functions(struct si_context *sctx);
576 void si_schedule_initial_compile(struct si_context *sctx, gl_shader_stage stage,
583 void si_vs_key_update_inputs(struct si_context *sctx);
584 void si_get_vs_key_inputs(struct si_context *sctx, union si_shader_key *key,
586 void si_update_ps_inputs_read_or_disabled(struct si_context *sctx);
587 void si_update_vrs_flat_shading(struct si_context *sctx);
589 bool si_update_ngg(struct si_context *sctx);
590 void si_ps_key_update_framebuffer(struct si_context *sctx);
591 void si_ps_key_update_framebuffer_blend(struct si_context *sctx);
592 void si_ps_key_update_blend_rasterizer(struct si_context *sctx);
593 void si_ps_key_update_rasterizer(struct si_context *sctx);
594 void si_ps_key_update_dsa(struct si_context *sctx);
595 void si_ps_key_update_sample_shading(struct si_context *sctx);
596 void si_ps_key_update_framebuffer_rasterizer_sample_shading(struct si_context *sctx);
597 void si_init_tess_factor_ring(struct si_context *sctx);
598 bool si_update_gs_ring_buffers(struct si_context *sctx);
599 bool si_update_spi_tmpring_size(struct si_context *sctx, unsigned bytes);
601 bool si_set_tcs_to_fixed_func_shader(struct si_context *sctx);
604 void si_cp_dma_prefetch(struct si_context *sctx, struct pipe_resource *buf,
609 void si_init_draw_functions_GFX6(struct si_context *sctx);
610 void si_init_draw_functions_GFX7(struct si_context *sctx);
611 void si_init_draw_functions_GFX8(struct si_context *sctx);
612 void si_init_draw_functions_GFX9(struct si_context *sctx);
613 void si_init_draw_functions_GFX10(struct si_context *sctx);
614 void si_init_draw_functions_GFX10_3(struct si_context *sctx);
615 void si_init_draw_functions_GFX11(struct si_context *sctx);
616 void si_init_spi_map_functions(struct si_context *sctx);
619 void si_init_msaa_functions(struct si_context *sctx);
623 void si_streamout_buffers_dirty(struct si_context *sctx);
624 void si_emit_streamout_end(struct si_context *sctx);
625 void si_update_prims_generated_query_state(struct si_context *sctx, unsigned type, int diff);
626 void si_init_streamout_functions(struct si_context *sctx);