Home
last modified time | relevance | path

Searched refs:nir_options (Results 1 – 25 of 38) sorted by relevance

12

/third_party/mesa3d/src/intel/compiler/
Dbrw_compiler.c172 struct nir_shader_compiler_options *nir_options = in brw_compiler_create() local
175 *nir_options = scalar_nir_options; in brw_compiler_create()
177 *nir_options = vector_nir_options; in brw_compiler_create()
183 nir_options->lower_ffma16 = devinfo->ver < 6; in brw_compiler_create()
184 nir_options->lower_ffma32 = devinfo->ver < 6; in brw_compiler_create()
185 nir_options->lower_ffma64 = devinfo->ver < 6; in brw_compiler_create()
186 nir_options->lower_flrp32 = devinfo->ver < 6 || devinfo->ver >= 11; in brw_compiler_create()
187 nir_options->lower_fpow = devinfo->ver >= 12; in brw_compiler_create()
189 nir_options->lower_rotate = devinfo->ver < 11; in brw_compiler_create()
190 nir_options->lower_bitfield_reverse = devinfo->ver < 7; in brw_compiler_create()
[all …]
Dbrw_nir_lower_shader_calls.c256 const nir_shader_compiler_options *nir_options = in brw_nir_create_trivial_return_shader() local
260 nir_options, in brw_nir_create_trivial_return_shader()
Dbrw_nir_rt.c419 const nir_shader_compiler_options *nir_options = in brw_nir_create_raygen_trampoline() local
425 nir_options, in brw_nir_create_raygen_trampoline()
/third_party/mesa3d/src/compiler/spirv/tests/
Dhelpers.h57 nir_shader_compiler_options nir_options; in get_nir() local
58 memset(&nir_options, 0, sizeof(nir_options)); in get_nir()
59 nir_options.use_scoped_barrier = true; in get_nir()
62 MESA_SHADER_COMPUTE, "main", &spirv_options, &nir_options); in get_nir()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c116 const nir_shader_compiler_options *nir_options = in load_glsl() local
124 nir_shader *nir = glsl_to_nir(&local_ctx, prog, stage, nir_options); in load_glsl()
127 if (nir_options->lower_all_io_to_temps || in load_glsl()
378 const nir_shader_compiler_options *nir_options = in main() local
396 nir = tgsi_to_nir_noscreen(toks, nir_options); in main()
/third_party/mesa3d/src/compiler/spirv/
Dnir_spirv.h110 const nir_shader_compiler_options *nir_options);
118 const nir_shader_compiler_options *nir_options);
Dnir_load_libclc.c246 const nir_shader_compiler_options *nir_options) in nir_load_libclc_shader() argument
266 nir_shader *nir = nir_deserialize(NULL, nir_options, &blob); in nir_load_libclc_shader()
285 &spirv_lib_options, nir_options); in nir_load_libclc_shader()
/third_party/mesa3d/src/gallium/drivers/lima/standalone/
Dlima_compiler_cmdline.c105 const nir_shader_compiler_options *nir_options = in load_glsl() local
115 nir_shader *nir = glsl_to_nir(&local_ctx, prog, stage, nir_options); in load_glsl()
118 if (nir_options->lower_all_io_to_temps || in load_glsl()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Dspirv_to_dxil.c180 struct nir_shader_compiler_options nir_options = *dxil_get_nir_compiler_options(); in spirv_to_dxil() local
183 nir_options.lower_base_vertex = !conf->zero_based_vertex_instance_id; in spirv_to_dxil()
188 &spirv_opts, &nir_options); in spirv_to_dxil()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c776 .nir_options = dxil_get_nir_compiler_options(), in clc_libclc_new_dxil()
827 nir_shader_compiler_options nir_options = in clc_spirv_to_dxil() local
831 nir_options.lower_pack_64_2x32_split = false; in clc_spirv_to_dxil()
832 nir_options.lower_unpack_64_2x32_split = false; in clc_spirv_to_dxil()
833 nir_options.lower_int64_options = ~0; in clc_spirv_to_dxil()
837 nir_options.support_16bit_alu = true; in clc_spirv_to_dxil()
846 &nir_options); in clc_spirv_to_dxil()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_get.c466 return &sscreen->nir_options; in si_get_compiler_options()
994 const struct nir_shader_compiler_options nir_options = { in si_init_screen_get_functions() local
1057 sscreen->nir_options = nir_options; in si_init_screen_get_functions()
/third_party/mesa3d/src/compiler/clc/
Dclc.h165 const struct nir_shader_compiler_options *nir_options; member
Dclc.c147 nir_shader *s = nir_load_libclc_shader(64, NULL, &libclc_spirv_options, options->nir_options); in clc_libclc_new()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c390 screen->nir_options = default_options; in zink_screen_init_compiler()
393 screen->nir_options.lower_int64_options = ~0; in zink_screen_init_compiler()
396 screen->nir_options.lower_doubles_options = ~0; in zink_screen_init_compiler()
397 screen->nir_options.lower_flrp64 = true; in zink_screen_init_compiler()
398 screen->nir_options.lower_ffma64 = true; in zink_screen_init_compiler()
408 return &zink_screen(pscreen)->nir_options; in zink_get_compiler_options()
1557 nir_shader *nir = nir_shader_create(NULL, MESA_SHADER_TESS_CTRL, &screen->nir_options, NULL); in zink_shader_tcs_create()
Dzink_screen.h124 struct nir_shader_compiler_options nir_options; member
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c1184 return &rscreen->nir_options; in r600_get_compiler_options()
1322 const struct nir_shader_compiler_options nir_options = { in r600_common_screen_init() local
1358 rscreen->nir_options = nir_options; in r600_common_screen_init()
Dr600_pipe_common.h410 struct nir_shader_compiler_options nir_options; member
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c49 const nir_shader_compiler_options *nir_options) in panvk_spirv_to_nir() argument
65 &spirv_options, nir_options); in panvk_spirv_to_nir()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_extensions.c167 const nir_shader_compiler_options *nir_options = NULL; in st_init_limits() local
173 nir_options = (const nir_shader_compiler_options *) in st_init_limits()
180 c->ShaderCompilerOptions[stage].NirOptions = nir_options; in st_init_limits()
1846 const struct nir_shader_compiler_options *nir_options = in st_init_extensions() local
1853 !(nir_options->lower_doubles_options & nir_lower_fp64_full_software)) in st_init_extensions()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c91 const nir_shader_compiler_options *nir_options = in tu_spirv_to_nir() local
106 &spirv_options, nir_options); in tu_spirv_to_nir()
/third_party/mesa3d/src/intel/vulkan/
Danv_pipeline_cache.c778 const nir_shader_compiler_options *nir_options, in anv_device_search_for_nir() argument
796 nir_shader *nir = nir_deserialize(mem_ctx, nir_options, &blob); in anv_device_search_for_nir()
Danv_pipeline.c95 const nir_shader_compiler_options *nir_options = in anv_shader_compile_to_nir() local
188 stage, entrypoint_name, &spirv_options, nir_options); in anv_shader_compile_to_nir()
751 const nir_shader_compiler_options *nir_options = in anv_pipeline_stage_get_nir() local
756 nir_options, in anv_pipeline_stage_get_nir()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline_cache.c145 const nir_shader_compiler_options *nir_options, in v3dv_pipeline_cache_search_for_nir() argument
175 nir_shader *nir = nir_deserialize(NULL, nir_options, &blob); in v3dv_pipeline_cache_search_for_nir()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_screen.c963 static const nir_shader_compiler_options nir_options = { variable
1001 return &nir_options; in nv50_screen_get_compiler_options()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c55 device->nir_options = (nir_shader_compiler_options){ in radv_get_nir_options()
439 nir->options = &device->physical_device->nir_options; in radv_shader_compile_to_nir()
532 entrypoint_name, &spirv_options, &device->physical_device->nir_options); in radv_shader_compile_to_nir()

12