Searched refs:SI_STATE_IDX (Results 1 – 4 of 4) sorted by relevance
195 #define SI_STATE_IDX(name) (offsetof(union si_state, named.name) / sizeof(struct si_pm4_state *)) macro196 #define SI_STATE_BIT(name) (1 << SI_STATE_IDX(name))
3632 state_index = SI_STATE_IDX(ls); in si_delete_shader()3635 state_index = SI_STATE_IDX(es); in si_delete_shader()3637 state_index = SI_STATE_IDX(gs); in si_delete_shader()3639 state_index = SI_STATE_IDX(vs); in si_delete_shader()3643 state_index = SI_STATE_IDX(hs); in si_delete_shader()3648 state_index = SI_STATE_IDX(es); in si_delete_shader()3650 state_index = SI_STATE_IDX(gs); in si_delete_shader()3652 state_index = SI_STATE_IDX(vs); in si_delete_shader()3657 state_index = SI_STATE_IDX(vs); in si_delete_shader()3659 state_index = SI_STATE_IDX(gs); in si_delete_shader()[all …]
231 si_pm4_free_state(sctx, sctx->vgt_shader_config[i], SI_STATE_IDX(vgt_shader_config)); in si_destroy_context()
791 si_pm4_free_state(sctx, (struct si_pm4_state*)state, SI_STATE_IDX(blend)); in si_delete_blend_state()1229 si_pm4_free_state(sctx, &rs->pm4, SI_STATE_IDX(rasterizer)); in si_delete_rs_state()1451 si_pm4_free_state(sctx, (struct si_pm4_state*)state, SI_STATE_IDX(dsa)); in si_delete_dsa_state()