• Home
  • Raw
  • Download

Lines Matching refs:sctx

360 void cik_init_sdma_functions(struct si_context *sctx);
363 void si_init_blit_functions(struct si_context *sctx);
364 void si_decompress_graphics_textures(struct si_context *sctx);
365 void si_decompress_compute_textures(struct si_context *sctx);
386 void si_copy_buffer(struct si_context *sctx,
390 void cik_prefetch_TC_L2_async(struct si_context *sctx, struct pipe_resource *buf,
392 void si_init_cp_dma_functions(struct si_context *sctx);
395 void si_init_debug_functions(struct si_context *sctx);
401 void si_init_dma_functions(struct si_context *sctx);
410 void si_init_compute_functions(struct si_context *sctx);
427 si_invalidate_draw_sh_constants(struct si_context *sctx) in si_invalidate_draw_sh_constants() argument
429 sctx->last_base_vertex = SI_BASE_VERTEX_UNKNOWN; in si_invalidate_draw_sh_constants()
433 si_set_atom_dirty(struct si_context *sctx, in si_set_atom_dirty() argument
439 sctx->dirty_atoms |= bit; in si_set_atom_dirty()
441 sctx->dirty_atoms &= ~bit; in si_set_atom_dirty()
445 si_is_atom_dirty(struct si_context *sctx, in si_is_atom_dirty() argument
450 return sctx->dirty_atoms & bit; in si_is_atom_dirty()
454 si_mark_atom_dirty(struct si_context *sctx, in si_mark_atom_dirty() argument
457 si_set_atom_dirty(sctx, atom, true); in si_mark_atom_dirty()
460 static inline struct tgsi_shader_info *si_get_vs_info(struct si_context *sctx) in si_get_vs_info() argument
462 if (sctx->gs_shader.cso) in si_get_vs_info()
463 return &sctx->gs_shader.cso->info; in si_get_vs_info()
464 else if (sctx->tes_shader.cso) in si_get_vs_info()
465 return &sctx->tes_shader.cso->info; in si_get_vs_info()
466 else if (sctx->vs_shader.cso) in si_get_vs_info()
467 return &sctx->vs_shader.cso->info; in si_get_vs_info()
472 static inline struct si_shader* si_get_vs_state(struct si_context *sctx) in si_get_vs_state() argument
474 if (sctx->gs_shader.current) in si_get_vs_state()
475 return sctx->gs_shader.cso->gs_copy_shader; in si_get_vs_state()
476 else if (sctx->tes_shader.current) in si_get_vs_state()
477 return sctx->tes_shader.current; in si_get_vs_state()
479 return sctx->vs_shader.current; in si_get_vs_state()