Home | History | Annotate | Download | only in radeonsi

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)
429 sctx->last_base_vertex = SI_BASE_VERTEX_UNKNOWN;
433 si_set_atom_dirty(struct si_context *sctx,
439 sctx->dirty_atoms |= bit;
441 sctx->dirty_atoms &= ~bit;
445 si_is_atom_dirty(struct si_context *sctx,
450 return sctx->dirty_atoms & bit;
454 si_mark_atom_dirty(struct si_context *sctx,
457 si_set_atom_dirty(sctx, atom, true);
460 static inline struct tgsi_shader_info *si_get_vs_info(struct si_context *sctx)
462 if (sctx->gs_shader.cso)
463 return &sctx->gs_shader.cso->info;
464 else if (sctx->tes_shader.cso)
465 return &sctx->tes_shader.cso->info;
466 else if (sctx->vs_shader.cso)
467 return &sctx->vs_shader.cso->info;
472 static inline struct si_shader* si_get_vs_state(struct si_context *sctx)
474 if (sctx->gs_shader.current)
475 return sctx->gs_shader.cso->gs_copy_shader;
476 else if (sctx->tes_shader.current)
477 return sctx->tes_shader.current;
479 return sctx->vs_shader.current;