Searched refs:SI_STATE_IDX (Results 1 – 4 of 4) sorted by relevance
197 #define SI_STATE_IDX(name) (offsetof(union si_state, named.name) / sizeof(struct si_pm4_state *)) macro198 #define SI_STATE_BIT(name) (1 << SI_STATE_IDX(name))
3441 state_index = SI_STATE_IDX(ls); in si_delete_shader()3444 state_index = SI_STATE_IDX(es); in si_delete_shader()3446 state_index = SI_STATE_IDX(gs); in si_delete_shader()3448 state_index = SI_STATE_IDX(vs); in si_delete_shader()3452 state_index = SI_STATE_IDX(hs); in si_delete_shader()3457 state_index = SI_STATE_IDX(es); in si_delete_shader()3459 state_index = SI_STATE_IDX(gs); in si_delete_shader()3461 state_index = SI_STATE_IDX(vs); in si_delete_shader()3466 state_index = SI_STATE_IDX(vs); in si_delete_shader()3468 state_index = SI_STATE_IDX(gs); in si_delete_shader()[all …]
226 si_pm4_free_state(sctx, sctx->vgt_shader_config[i], SI_STATE_IDX(vgt_shader_config)); in si_destroy_context()
772 si_pm4_free_state(sctx, (struct si_pm4_state*)state, SI_STATE_IDX(blend)); in si_delete_blend_state()1168 si_pm4_free_state(sctx, &rs->pm4, SI_STATE_IDX(rasterizer)); in si_delete_rs_state()1398 si_pm4_free_state(sctx, (struct si_pm4_state*)state, SI_STATE_IDX(dsa)); in si_delete_dsa_state()