Home
last modified time | relevance | path

Searched refs:nir (Results 1 – 16 of 16) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_nir.c137 nir_shader *nir = spirv_to_nir(spirv_data, spirv_size_B / 4, in vk_spirv_to_nir() local
143 if (nir == NULL) in vk_spirv_to_nir()
146 assert(nir->info.stage == stage); in vk_spirv_to_nir()
147 nir_validate_shader(nir, "after spirv_to_nir"); in vk_spirv_to_nir()
148 nir_validate_ssa_dominance(nir, "after spirv_to_nir"); in vk_spirv_to_nir()
150 ralloc_steal(mem_ctx, nir); in vk_spirv_to_nir()
156 NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp); in vk_spirv_to_nir()
157 NIR_PASS_V(nir, nir_lower_returns); in vk_spirv_to_nir()
158 NIR_PASS_V(nir, nir_inline_functions); in vk_spirv_to_nir()
159 NIR_PASS_V(nir, nir_copy_prop); in vk_spirv_to_nir()
[all …]
Dvk_pipeline.c57 nir_shader *nir = NULL; in get_builtin_nir() local
59 nir = module->nir; in get_builtin_nir()
64 nir = nir_info->nir; in get_builtin_nir()
67 if (nir == NULL) in get_builtin_nir()
70 assert(nir->info.stage == vk_to_mesa_shader_stage(info->stage)); in get_builtin_nir()
71 ASSERTED nir_function_impl *entrypoint = nir_shader_get_entrypoint(nir); in get_builtin_nir()
75 return nir; in get_builtin_nir()
147 nir_shader *nir = vk_spirv_to_nir(device, spirv_data, spirv_size, stage, in vk_pipeline_shader_stage_to_nir() local
151 if (nir == NULL) in vk_pipeline_shader_stage_to_nir()
154 *nir_out = nir; in vk_pipeline_shader_stage_to_nir()
Dvk_shader_module.h43 struct nir_shader *nir; member
74 .nir = _nir, \
79 .nir = _nir, \
Dvk_shader_module.c40 module->nir = NULL; in vk_shader_module_init()
111 assert(module->nir == NULL); in vk_common_DestroyShaderModule()
121 if (mod->nir != NULL) in vk_shader_module_spirv_version()
Dvk_nir_convert_ycbcr.h48 bool nir_vk_lower_ycbcr_tex(nir_shader *nir,
Dvk_pipeline.h49 struct nir_shader *nir; member
Dvk_pipeline_cache.c490 nir_shader *nir = nir_deserialize(mem_ctx, nir_options, &blob); in vk_pipeline_cache_lookup_nir() local
494 ralloc_free(nir); in vk_pipeline_cache_lookup_nir()
498 return nir; in vk_pipeline_cache_lookup_nir()
504 const nir_shader *nir) in vk_pipeline_cache_add_nir() argument
509 nir_serialize(&blob, nir, false); in vk_pipeline_cache_add_nir()
Dvk_pipeline_cache.h289 const struct nir_shader *nir);
Dvk_nir_convert_ycbcr.c446 bool nir_vk_lower_ycbcr_tex(nir_shader *nir, in nir_vk_lower_ycbcr_tex() argument
455 return nir_shader_instructions_pass(nir, lower_ycbcr_tex_instr, in nir_vk_lower_ycbcr_tex()
Dvk_meta.c343 .nir = vk_meta_draw_rects_vs_nir(meta, use_gs), in create_rect_list_pipeline()
356 .nir = vk_meta_draw_rects_gs_nir(meta), in create_rect_list_pipeline()
Dvk_meta_clear.c139 .nir = build_clear_shader(key), in get_clear_pipeline()
184 ralloc_free(fs_nir_info.nir); in get_clear_pipeline()
Dvk_meta_blit_resolve.c394 .nir = build_blit_shader(key), in get_blit_pipeline()
452 ralloc_free(fs_nir_info.nir); in get_blit_pipeline()
/hardware/google/gfxstream/guest/mesa/src/util/perf/
D.clang-format12 - Regex: '^"(c11/|compiler/|main/|nir/|spirv/|util/|vk_|wsi_)'
/hardware/google/gfxstream/guest/mesa/src/
D.clang-format100 # nir
/hardware/google/gfxstream/
Dmeson_options.txt491 'nir', 'nouveau', 'lima', 'panfrost', 'asahi', 'imagination',
694 'vk-no-nir',
/hardware/google/gfxstream/guest/mesa/
Dmeson.build67 'nir',
222 with_vk_no_nir = get_option('vk-no-nir')
2163 dir_compiler_nir = join_paths(meson.current_source_dir(), 'src/compiler/nir/')