diff options
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index ec3dbf035c0..a538d6981cc 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -2758,6 +2758,12 @@ bool nir_lower_to_source_mods(nir_shader *shader); bool nir_lower_gs_intrinsics(nir_shader *shader); +typedef unsigned (*nir_lower_bit_size_callback)(const nir_alu_instr *, void *); + +bool nir_lower_bit_size(nir_shader *shader, + nir_lower_bit_size_callback callback, + void *callback_data); + typedef enum { nir_lower_imul64 = (1 << 0), nir_lower_isign64 = (1 << 1), |