mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 11:40:10 +01:00
nir: renumber nir_move_options
for future commits Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36357>
This commit is contained in:
parent
8d584586f5
commit
5083769fcb
1 changed files with 9 additions and 9 deletions
|
|
@ -6194,15 +6194,15 @@ bool nir_opt_loop(nir_shader *shader);
|
|||
bool nir_opt_loop_unroll(nir_shader *shader);
|
||||
|
||||
typedef enum {
|
||||
nir_move_const_undef = (1 << 0),
|
||||
nir_move_load_ubo = (1 << 1),
|
||||
nir_move_load_input = (1 << 2),
|
||||
nir_move_comparisons = (1 << 3),
|
||||
nir_move_copies = (1 << 4),
|
||||
nir_move_load_ssbo = (1 << 5),
|
||||
nir_move_load_uniform = (1 << 6),
|
||||
nir_move_alu = (1 << 7),
|
||||
nir_dont_move_byte_word_vecs = (1 << 8),
|
||||
nir_move_const_undef = BITFIELD_BIT(0),
|
||||
nir_move_alu = BITFIELD_BIT(1),
|
||||
nir_move_copies = BITFIELD_BIT(2),
|
||||
nir_move_comparisons = BITFIELD_BIT(3),
|
||||
nir_dont_move_byte_word_vecs = BITFIELD_BIT(4),
|
||||
nir_move_load_input = BITFIELD_BIT(5),
|
||||
nir_move_load_ubo = BITFIELD_BIT(6),
|
||||
nir_move_load_ssbo = BITFIELD_BIT(7),
|
||||
nir_move_load_uniform = BITFIELD_BIT(8),
|
||||
} nir_move_options;
|
||||
|
||||
bool nir_can_move_instr(nir_instr *instr, nir_move_options options);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue