mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
anv/apply_pipeline_layout: Use the new const_index helpers
This commit is contained in:
parent
768bd7f272
commit
e15f7551d1
1 changed files with 2 additions and 2 deletions
|
|
@ -114,8 +114,8 @@ lower_res_index_intrinsic(nir_intrinsic_instr *intrin,
|
|||
|
||||
b->cursor = nir_before_instr(&intrin->instr);
|
||||
|
||||
uint32_t set = intrin->const_index[0];
|
||||
uint32_t binding = intrin->const_index[1];
|
||||
uint32_t set = nir_intrinsic_desc_set(intrin);
|
||||
uint32_t binding = nir_intrinsic_binding(intrin);
|
||||
|
||||
uint32_t surface_index = get_surface_index(set, binding, state);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue