Lines Matching refs:rad_info

449 				.float16 = device->physical_device->rad_info.has_packed_math_16bit,  in radv_shader_compile_to_nir()
570 if (device->physical_device->rad_info.chip_class == GFX6) { in radv_shader_compile_to_nir()
622 bool gfx7minus = device->physical_device->rad_info.chip_class <= GFX7; in radv_shader_compile_to_nir()
683 if (ac_lower_indirect_derefs(nir, device->physical_device->rad_info.chip_class) && in radv_shader_compile_to_nir()
816 (device->physical_device->rad_info.cpdma_prefetch_writes_memory ? in radv_alloc_shader_memory()
884 assert((pdevice->rad_info.chip_class >= GFX10 && num_shared_vgprs % 8 == 0) in radv_postprocess_config()
885 || (pdevice->rad_info.chip_class < GFX10 && num_shared_vgprs == 0)); in radv_postprocess_config()
918 if (pdevice->rad_info.chip_class >= GFX10) { in radv_postprocess_config()
928 config_out->rsrc1 |= S_00B228_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
932 assert(pdevice->rad_info.chip_class <= GFX8); in radv_postprocess_config()
941 config_out->rsrc1 |= S_00B128_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
948 if (pdevice->rad_info.chip_class >= GFX9) { in radv_postprocess_config()
953 if (pdevice->rad_info.chip_class >= GFX10) { in radv_postprocess_config()
966 config_out->rsrc1 |= S_00B428_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10) | in radv_postprocess_config()
967 S_00B848_WGP_MODE(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
972 config_out->rsrc1 |= S_00B228_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
974 assert(pdevice->rad_info.chip_class <= GFX8); in radv_postprocess_config()
981 assert(pdevice->rad_info.chip_class <= GFX8); in radv_postprocess_config()
989 if (info->vs.needs_instance_id && pdevice->rad_info.chip_class >= GFX10) { in radv_postprocess_config()
999 config_out->rsrc1 |= S_00B128_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
1005 config_out->rsrc1 |= S_00B028_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
1011 config_out->rsrc1 |= S_00B228_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10) | in radv_postprocess_config()
1012 S_00B848_WGP_MODE(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
1017 config_out->rsrc1 |= S_00B848_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10) | in radv_postprocess_config()
1018 S_00B848_WGP_MODE(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
1036 if (pdevice->rad_info.chip_class >= GFX10 && info->is_ngg && in radv_postprocess_config()
1069 } else if (pdevice->rad_info.chip_class >= GFX9 && in radv_postprocess_config()
1077 es_vgpr_comp_cnt = pdevice->rad_info.chip_class >= GFX10 ? 3 : 1; in radv_postprocess_config()
1103 } else if (pdevice->rad_info.chip_class >= GFX9 && in radv_postprocess_config()
1130 if (device->physical_device->rad_info.chip_class >= GFX9 && in radv_shader_variant_create()
1151 .info = &device->physical_device->rad_info, in radv_shader_variant_create()
1166 if (!ac_rtld_read_config(&device->physical_device->rad_info, in radv_shader_variant_create()
1174 unsigned alloc_granularity = device->physical_device->rad_info.chip_class >= GFX7 ? 512 : 256; in radv_shader_variant_create()
1288 enum radeon_family chip_family = device->physical_device->rad_info.family; in shader_variant_compile()
1297 options->chip_class = device->physical_device->rad_info.chip_class; in shader_variant_compile()
1305 options->address32_hi = device->physical_device->rad_info.address32_hi; in shader_variant_compile()
1306 options->has_ls_vgpr_init_bug = device->physical_device->rad_info.has_ls_vgpr_init_bug; in shader_variant_compile()
1527 enum chip_class chip_class = device->physical_device->rad_info.chip_class; in radv_get_max_waves()
1534 max_simd_waves = device->physical_device->rad_info.max_wave64_per_simd; in radv_get_max_waves()
1551 device->physical_device->rad_info.num_physical_sgprs_per_simd / in radv_get_max_waves()
1559 device->physical_device->rad_info.num_physical_wave64_vgprs_per_simd / vgprs); in radv_get_max_waves()
1562 …ax_lds_per_simd = device->physical_device->rad_info.lds_size_per_workgroup / device->physical_devi… in radv_get_max_waves()
1593 unsigned lds_multiplier = device->physical_device->rad_info.chip_class >= GFX7 ? 512 : 256; in radv_GetShaderInfoAMD()
1598 …statistics.numPhysicalVgprs = device->physical_device->rad_info.num_physical_wave64_vgprs_per_simd; in radv_GetShaderInfoAMD()
1599 statistics.numPhysicalSgprs = device->physical_device->rad_info.num_physical_sgprs_per_simd; in radv_GetShaderInfoAMD()