/third_party/mesa3d/src/intel/compiler/ |
D | brw_compiler.c | 172 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 …]
|
D | brw_nir_lower_shader_calls.c | 256 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()
|
D | brw_nir_rt.c | 419 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/ |
D | helpers.h | 57 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/ |
D | ir3_cmdline.c | 116 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/ |
D | nir_spirv.h | 110 const nir_shader_compiler_options *nir_options); 118 const nir_shader_compiler_options *nir_options);
|
D | nir_load_libclc.c | 246 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/ |
D | lima_compiler_cmdline.c | 105 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/ |
D | spirv_to_dxil.c | 180 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/ |
D | clc_compiler.c | 776 .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/ |
D | si_get.c | 466 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/ |
D | clc.h | 165 const struct nir_shader_compiler_options *nir_options; member
|
D | clc.c | 147 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/ |
D | zink_compiler.c | 390 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()
|
D | zink_screen.h | 124 struct nir_shader_compiler_options nir_options; member
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_pipe_common.c | 1184 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()
|
D | r600_pipe_common.h | 410 struct nir_shader_compiler_options nir_options; member
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_shader.c | 49 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/ |
D | st_extensions.c | 167 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/ |
D | tu_shader.c | 91 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/ |
D | anv_pipeline_cache.c | 778 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()
|
D | anv_pipeline.c | 95 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/ |
D | v3dv_pipeline_cache.c | 145 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/ |
D | nv50_screen.c | 963 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/ |
D | radv_shader.c | 55 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()
|