/third_party/mesa3d/src/intel/compiler/ |
D | brw_compiler.c | 167 struct nir_shader_compiler_options *nir_options = in brw_compiler_create() local 171 *nir_options = scalar_nir_options; in brw_compiler_create() 174 *nir_options = vector_nir_options; in brw_compiler_create() 180 nir_options->lower_ffma16 = devinfo->ver < 6; in brw_compiler_create() 181 nir_options->lower_ffma32 = devinfo->ver < 6; in brw_compiler_create() 182 nir_options->lower_ffma64 = devinfo->ver < 6; in brw_compiler_create() 183 nir_options->lower_flrp32 = devinfo->ver < 6 || devinfo->ver >= 11; in brw_compiler_create() 184 nir_options->lower_fpow = devinfo->ver >= 12; in brw_compiler_create() 186 nir_options->lower_rotate = devinfo->ver < 11; in brw_compiler_create() 187 nir_options->lower_bitfield_reverse = devinfo->ver < 7; in brw_compiler_create() [all …]
|
D | brw_kernel.c | 34 const nir_shader_compiler_options *nir_options, in load_clc_shader() argument 41 spirv_options, nir_options); in load_clc_shader() 262 const nir_shader_compiler_options *nir_options = in brw_kernel_from_spirv() local 263 compiler->nir_options[MESA_SHADER_KERNEL]; in brw_kernel_from_spirv() 301 nir_options, &spirv_options); in brw_kernel_from_spirv() 306 entrypoint_name, &spirv_options, nir_options); in brw_kernel_from_spirv()
|
D | brw_nir_lower_shader_calls.c | 311 const nir_shader_compiler_options *nir_options = in brw_nir_create_trivial_return_shader() local 312 compiler->nir_options[MESA_SHADER_CALLABLE]; in brw_nir_create_trivial_return_shader() 315 nir_options, in brw_nir_create_trivial_return_shader()
|
D | brw_nir_rt.c | 425 const nir_shader_compiler_options *nir_options = in brw_nir_create_raygen_trampoline() local 426 compiler->nir_options[MESA_SHADER_COMPUTE]; in brw_nir_create_raygen_trampoline() 431 nir_options, in brw_nir_create_raygen_trampoline()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_compiler.c | 121 static const nir_shader_compiler_options nir_options = { variable 296 compiler->nir_options = nir_options_a6xx; in ir3_compiler_create() 297 compiler->nir_options.has_udot_4x8 = dev_info->a6xx.has_dp2acc; in ir3_compiler_create() 298 compiler->nir_options.has_sudot_4x8 = dev_info->a6xx.has_dp2acc; in ir3_compiler_create() 300 compiler->nir_options = nir_options; in ir3_compiler_create() 303 compiler->nir_options.force_indirect_unrolling = nir_var_all; in ir3_compiler_create() 310 compiler->nir_options.support_16bit_alu = true; in ir3_compiler_create() 321 return &compiler->nir_options; in ir3_get_compiler_options()
|
/third_party/mesa3d/src/compiler/spirv/tests/ |
D | helpers.h | 58 nir_shader_compiler_options nir_options; in get_nir() local 59 memset(&nir_options, 0, sizeof(nir_options)); in get_nir() 60 nir_options.use_scoped_barrier = true; in get_nir() 63 MESA_SHADER_COMPUTE, "main", &spirv_options, &nir_options); in get_nir()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_pipe_common.c | 1190 return &rscreen->nir_options; in r600_get_compiler_options() 1329 const struct nir_shader_compiler_options nir_options = { in r600_common_screen_init() local 1371 rscreen->nir_options = nir_options; in r600_common_screen_init() 1374 rscreen->nir_options.force_indirect_unrolling_sampler = true; in r600_common_screen_init() 1378 rscreen->nir_options.lower_bit_count = true; in r600_common_screen_init() 1379 rscreen->nir_options.lower_bitfield_reverse = true; in r600_common_screen_init() 1383 rscreen->nir_options.lower_doubles_options = nir_lower_fp64_full_software; in r600_common_screen_init() 1385 rscreen->nir_options.lower_doubles_options = in r600_common_screen_init() 1396 rscreen->nir_options.lower_fpow = false; in r600_common_screen_init() 1400 rscreen->nir_options.lower_to_scalar = false; in r600_common_screen_init() [all …]
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_pipeline.c | 63 const struct nir_shader_compiler_options *nir_options, in vk_pipeline_shader_stage_to_nir() argument 84 assert(clone->options == NULL || clone->options == nir_options); in vk_pipeline_shader_stage_to_nir() 85 clone->options = nir_options; in vk_pipeline_shader_stage_to_nir() 127 spirv_options, nir_options, mem_ctx); in vk_pipeline_shader_stage_to_nir()
|
D | vk_nir.c | 85 const struct nir_shader_compiler_options *nir_options, in vk_spirv_to_nir() argument 103 &spirv_options_local, nir_options); in vk_spirv_to_nir()
|
D | vk_shader_module.c | 124 const nir_shader_compiler_options *nir_options, in vk_shader_module_to_nir() argument 135 spirv_options, nir_options, in vk_shader_module_to_nir()
|
D | vk_pipeline.h | 47 const struct nir_shader_compiler_options *nir_options,
|
D | vk_nir.h | 46 const struct nir_shader_compiler_options *nir_options,
|
D | vk_shader_module.h | 62 const struct nir_shader_compiler_options *nir_options,
|
D | vk_pipeline_cache.h | 247 const struct nir_shader_compiler_options *nir_options,
|
/third_party/mesa3d/src/microsoft/spirv_to_dxil/ |
D | spirv_to_dxil.c | 121 struct nir_shader_compiler_options nir_options = *dxil_get_nir_compiler_options(); in spirv_to_dxil() local 124 nir_options.lower_base_vertex = !conf->zero_based_vertex_instance_id; in spirv_to_dxil() 129 &spirv_opts, &nir_options); in spirv_to_dxil()
|
/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.Const, prog, stage, nir_options); in load_glsl() 127 if (nir_options->lower_all_io_to_temps || in load_glsl() 379 const nir_shader_compiler_options *nir_options = in main() local 397 nir = tgsi_to_nir_noscreen(toks, nir_options); in main()
|
/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.Const, prog, stage, nir_options); in load_glsl() 118 if (nir_options->lower_all_io_to_temps || in load_glsl()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | nir_spirv.h | 124 const nir_shader_compiler_options *nir_options); 132 const nir_shader_compiler_options *nir_options);
|
D | nir_load_libclc.c | 303 const nir_shader_compiler_options *nir_options) in nir_load_libclc_shader() argument 323 nir_shader *nir = nir_deserialize(NULL, nir_options, &blob); in nir_load_libclc_shader() 342 &spirv_lib_options, nir_options); in nir_load_libclc_shader()
|
/third_party/mesa3d/src/imagination/rogue/ |
D | rogue_nir.c | 46 static const nir_shader_compiler_options nir_options = { variable 60 return &nir_options; in rogue_get_compiler_options()
|
/third_party/mesa3d/src/microsoft/clc/ |
D | clc_compiler.c | 727 .nir_options = dxil_get_nir_compiler_options(), in clc_libclc_new_dxil() 778 nir_shader_compiler_options nir_options = in clc_spirv_to_dxil() local 782 nir_options.lower_pack_64_2x32_split = false; in clc_spirv_to_dxil() 783 nir_options.lower_unpack_64_2x32_split = false; in clc_spirv_to_dxil() 784 nir_options.lower_int64_options = ~0; in clc_spirv_to_dxil() 788 nir_options.support_16bit_alu = true; in clc_spirv_to_dxil() 797 &nir_options); in clc_spirv_to_dxil()
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp.c | 234 nir->options = compiler->nir_options[MESA_SHADER_FRAGMENT]; in blorp_compile_fs() 273 nir->options = compiler->nir_options[MESA_SHADER_VERTEX]; in blorp_compile_vs() 308 nir->options = compiler->nir_options[MESA_SHADER_COMPUTE]; in blorp_compile_cs()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_screen.cpp | 1358 screen->nir_options = *dxil_get_nir_compiler_options(); in d3d12_init_screen() 1365 screen->nir_options.lower_pack_64_2x32_split = false; in d3d12_init_screen() 1366 screen->nir_options.lower_unpack_64_2x32_split = false; in d3d12_init_screen() 1367 screen->nir_options.lower_int64_options = (nir_lower_int64_options)~0; in d3d12_init_screen() 1371 screen->nir_options.lower_doubles_options = (nir_lower_doubles_options)~0; in d3d12_init_screen()
|
D | d3d12_screen.h | 109 nir_shader_compiler_options nir_options; member
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_get.c | 519 return &sscreen->nir_options; in si_get_compiler_options() 1060 const struct nir_shader_compiler_options nir_options = { in si_init_screen_get_functions() local 1141 sscreen->nir_options = nir_options; in si_init_screen_get_functions()
|