mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
nir: Don't clang-format a couple typedefs
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24382>
This commit is contained in:
parent
8579224fe1
commit
4d54b423e7
1 changed files with 6 additions and 1 deletions
|
|
@ -5075,6 +5075,7 @@ typedef struct {
|
|||
uint16_t align;
|
||||
} nir_mem_access_size_align;
|
||||
|
||||
/* clang-format off */
|
||||
typedef nir_mem_access_size_align
|
||||
(*nir_lower_mem_access_bit_sizes_cb)(nir_intrinsic_op intrin,
|
||||
uint8_t bytes,
|
||||
|
|
@ -5083,6 +5084,7 @@ typedef nir_mem_access_size_align
|
|||
uint32_t align_offset,
|
||||
bool offset_is_const,
|
||||
const void *cb_data);
|
||||
/* clang-format on */
|
||||
|
||||
typedef struct {
|
||||
nir_lower_mem_access_bit_sizes_cb callback;
|
||||
|
|
@ -5132,12 +5134,15 @@ typedef struct {
|
|||
bool nir_lower_robust_access(nir_shader *s,
|
||||
const nir_lower_robust_access_options *opts);
|
||||
|
||||
/* clang-format off */
|
||||
typedef bool (*nir_should_vectorize_mem_func)(unsigned align_mul,
|
||||
unsigned align_offset,
|
||||
unsigned bit_size,
|
||||
unsigned num_components,
|
||||
nir_intrinsic_instr *low, nir_intrinsic_instr *high,
|
||||
nir_intrinsic_instr *low,
|
||||
nir_intrinsic_instr *high,
|
||||
void *data);
|
||||
/* clang-format on */
|
||||
|
||||
typedef struct {
|
||||
nir_should_vectorize_mem_func callback;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue