Lines Matching defs:nir
31 #include "nir/nir.h"
73 nir_shader *nir;
75 nir = spirv_to_nir(spirv_data,
83 if (!nir)
86 ralloc_steal(ctx, nir);
89 if (!rogue_nir_passes(ctx, nir, stage)) {
90 ralloc_free(nir);
95 if (!rogue_collect_io_data(ctx, nir)) {
96 ralloc_free(nir);
100 return nir;
707 * \param[in] nir NIR shader.
711 const nir_shader *nir)
713 gl_shader_stage stage = nir->info.stage;
719 assert(exec_list_length(&nir->functions) == 1);
722 nir_function_impl *entry = nir_shader_get_entrypoint((nir_shader *)nir);
781 /* nir/rogue/binary shaders need to be default-zeroed;