nir: Add a ptr_as_array deref type
We also add a ptr_stride field to cast derefs to provide a stride for
ptr_as_array derefs.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Showing
- src/compiler/nir/nir.c 4 additions, 2 deletionssrc/compiler/nir/nir.c
- src/compiler/nir/nir.h 7 additions, 0 deletionssrc/compiler/nir/nir.h
- src/compiler/nir/nir_builder.h 24 additions, 1 deletionsrc/compiler/nir/nir_builder.h
- src/compiler/nir/nir_clone.c 5 additions, 1 deletionsrc/compiler/nir/nir_clone.c
- src/compiler/nir/nir_deref.c 19 additions, 1 deletionsrc/compiler/nir/nir_deref.c
- src/compiler/nir/nir_instr_set.c 11 additions, 2 deletionssrc/compiler/nir/nir_instr_set.c
- src/compiler/nir/nir_opt_copy_propagate.c 2 additions, 1 deletionsrc/compiler/nir/nir_opt_copy_propagate.c
- src/compiler/nir/nir_print.c 5 additions, 1 deletionsrc/compiler/nir/nir_print.c
- src/compiler/nir/nir_serialize.c 10 additions, 2 deletionssrc/compiler/nir/nir_serialize.c
- src/compiler/nir/nir_validate.c 13 additions, 0 deletionssrc/compiler/nir/nir_validate.c
- src/compiler/spirv/vtn_cfg.c 1 addition, 1 deletionsrc/compiler/spirv/vtn_cfg.c
- src/compiler/spirv/vtn_variables.c 1 addition, 1 deletionsrc/compiler/spirv/vtn_variables.c
Loading
Please register or sign in to comment