Lines Matching defs:nir
17 #include "compiler/nir/nir_builder.h"
635 compile_shader(struct tu_device *dev, struct nir_shader *nir,
638 nir->options = ir3_get_compiler_options(dev->compiler);
640 nir_assign_io_var_locations(nir, nir_var_shader_in, &nir->num_inputs, nir->info.stage);
641 nir_assign_io_var_locations(nir, nir_var_shader_out, &nir->num_outputs, nir->info.stage);
643 ir3_finalize_nir(dev->compiler, nir);
646 ir3_shader_from_nir(dev->compiler, nir, &(struct ir3_shader_options) {