nir: add d2i, d2u, d2b opcodes
[mesa.git] / src / compiler / nir / nir.h
index f84f39dbf64a5b8962d271ddc2ee54bd350fca98..4cc158767f09f8a71ad3ea4a9a5730ff337947eb 100644 (file)
@@ -1830,7 +1830,8 @@ nir_alu_instr *nir_alu_instr_create(nir_shader *shader, nir_op op);
 nir_jump_instr *nir_jump_instr_create(nir_shader *shader, nir_jump_type type);
 
 nir_load_const_instr *nir_load_const_instr_create(nir_shader *shader,
-                                                  unsigned num_components);
+                                                  unsigned num_components,
+                                                  unsigned bit_size);
 
 nir_intrinsic_instr *nir_intrinsic_instr_create(nir_shader *shader,
                                                 nir_intrinsic_op op);