Lines Matching defs:nir
30 #include "compiler/nir/nir.h"
31 #include "compiler/nir/nir_serialize.h"
32 #include "nir/tgsi_to_nir.h"
186 /* nir vec4 fcsel assumes that each component of the condition will be
297 nir_shader *nir = nir_shader_clone(fs, ufs->base.ir.nir);
309 lima_program_optimize_fs_nir(nir, &tex_options);
312 nir_print_shader(nir, stdout);
314 if (!ppir_compile_nir(fs, nir, screen->pp_ra, &ctx->debug)) {
315 ralloc_free(nir);
319 fs->state.uses_discard = nir->info.fs.uses_discard;
320 ralloc_free(nir);
403 nir_shader *nir;
407 nir = cso->ir.nir;
411 nir = tgsi_to_nir(cso->tokens, pctx->screen, false);
415 so->base.ir.nir = nir;
424 nir_serialize(&blob, nir, true);
473 ralloc_free(so->base.ir.nir);
483 nir_shader *nir = nir_shader_clone(vs, uvs->base.ir.nir);
485 lima_program_optimize_vs_nir(nir);
488 nir_print_shader(nir, stdout);
490 if (!gpir_compile_nir(vs, nir, &ctx->debug)) {
491 ralloc_free(nir);
495 ralloc_free(nir);
650 nir_shader *nir;
654 nir = cso->ir.nir;
658 nir = tgsi_to_nir(cso->tokens, pctx->screen, false);
662 so->base.ir.nir = nir;
671 nir_serialize(&blob, nir, true);
716 ralloc_free(so->base.ir.nir);