Lines Matching refs:pdevice

686 anv_physical_device_init_queue_families(struct anv_physical_device *pdevice)
690 if (pdevice->engine_info) {
692 anv_gem_count_engines(pdevice->engine_info, I915_ENGINE_CLASS_RENDER);
699 pdevice->queue.families[family_count++] = (struct anv_queue_family) {
708 pdevice->queue.families[family_count++] = (struct anv_queue_family) {
716 pdevice->queue.families[family_count++] = (struct anv_queue_family) {
729 pdevice->queue.families[family_count++] = (struct anv_queue_family) {
739 pdevice->queue.family_count = family_count;
1141 list_for_each_entry_safe(struct anv_physical_device, pdevice,
1143 anv_physical_device_destroy(pdevice);
1176 struct anv_physical_device *pdevice;
1178 &pdevice);
1189 list_addtail(&pdevice->link, &instance->physical_devices);
1210 list_for_each_entry(struct anv_physical_device, pdevice,
1213 *i = anv_physical_device_to_handle(pdevice);
1233 list_for_each_entry(struct anv_physical_device, pdevice,
1238 p->physicalDevices[0] = anv_physical_device_to_handle(pdevice);
1253 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice);
1257 isl_format_supports_sampling(&pdevice->info,
1275 .depthBounds = pdevice->info.ver >= 12,
1281 .textureCompressionETC2 = pdevice->info.ver >= 8 ||
1282 pdevice->info.is_baytrail,
1300 .shaderFloat64 = pdevice->info.ver >= 8 &&
1301 pdevice->info.has_64bit_float,
1302 .shaderInt64 = pdevice->info.ver >= 8,
1303 .shaderInt16 = pdevice->info.ver >= 8,
1304 .shaderResourceMinLod = pdevice->info.ver >= 9,
1311 pdevice->compiler->scalar_stage[MESA_SHADER_VERTEX] &&
1312 pdevice->compiler->scalar_stage[MESA_SHADER_GEOMETRY];
1314 struct vk_app_info *app_info = &pdevice->instance->vk.app_info;
1325 anv_get_physical_device_features_1_1(struct anv_physical_device *pdevice,
1330 f->storageBuffer16BitAccess = pdevice->info.ver >= 8;
1331 f->uniformAndStorageBuffer16BitAccess = pdevice->info.ver >= 8;
1332 f->storagePushConstant16 = pdevice->info.ver >= 8;
1345 anv_get_physical_device_features_1_2(struct anv_physical_device *pdevice,
1352 f->storageBuffer8BitAccess = pdevice->info.ver >= 8;
1353 f->uniformAndStorageBuffer8BitAccess = pdevice->info.ver >= 8;
1354 f->storagePushConstant8 = pdevice->info.ver >= 8;
1355 f->shaderBufferInt64Atomics = pdevice->info.ver >= 9 &&
1356 pdevice->use_softpin;
1358 f->shaderFloat16 = pdevice->info.ver >= 8;
1359 f->shaderInt8 = pdevice->info.ver >= 8;
1361 bool descIndexing = pdevice->has_a64_buffer_access &&
1362 pdevice->has_bindless_images;
1385 f->samplerFilterMinmax = pdevice->info.ver >= 9;
1393 f->bufferDeviceAddress = pdevice->has_a64_buffer_access;
1394 f->bufferDeviceAddressCaptureReplay = pdevice->has_a64_buffer_access;
1408 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice);
1414 anv_get_physical_device_features_1_1(pdevice, &core_1_1);
1419 anv_get_physical_device_features_1_2(pdevice, &core_1_2);
1449 features->bufferDeviceAddress = pdevice->has_a64_buffer_access;
1474 features->conditionalRendering = pdevice->info.verx10 >= 75;
1475 features->inheritedConditionalRendering = pdevice->info.verx10 >= 75;
1482 features->customBorderColors = pdevice->info.ver >= 8;
1483 features->customBorderColorWithoutFormat = pdevice->info.ver >= 8;
1497 features->fragmentShaderSampleInterlock = pdevice->info.ver >= 9;
1498 features->fragmentShaderPixelInterlock = pdevice->info.ver >= 9;
1547 features->smoothLines = pdevice->info.ver < 10;
1609 features->shaderBufferFloat32AtomicAdd = pdevice->info.has_lsc;
1610 features->shaderBufferFloat64Atomics = pdevice->info.has_lsc;
1628 features->shaderBufferFloat32AtomicMinMax = pdevice->info.ver >= 9;
1629 features->shaderBufferFloat64AtomicMinMax = pdevice->info.has_lsc;
1633 features->shaderSharedFloat32AtomicMinMax = pdevice->info.ver >= 9;
1793 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice);
1794 const struct intel_device_info *devinfo = &pdevice->info;
1796 const uint32_t max_ssbos = pdevice->has_a64_buffer_access ? UINT16_MAX : 64;
1798 pdevice->has_bindless_images ? UINT16_MAX : 128;
1800 pdevice->has_bindless_samplers ? UINT16_MAX :
1803 pdevice->has_bindless_images ? UINT16_MAX : MAX_IMAGES;
1809 pdevice->has_bindless_images && pdevice->has_a64_buffer_access
1815 isl_device_get_sample_counts(&pdevice->isl_dev);
1826 .maxStorageBufferRange = pdevice->isl_dev.max_buffer_size,
1943 .deviceID = pdevice->info.chipset_id,
1944 .deviceType = pdevice->info.has_local_mem ?
1952 "%s", pdevice->info.name);
1954 pdevice->pipeline_cache_uuid, VK_UUID_SIZE);
1958 anv_get_physical_device_properties_1_1(struct anv_physical_device *pdevice,
1963 memcpy(p->deviceUUID, pdevice->device_uuid, VK_UUID_SIZE);
1964 memcpy(p->driverUUID, pdevice->driver_uuid, VK_UUID_SIZE);
1972 if (pdevice->compiler->scalar_stage[stage])
1975 if (pdevice->vk.supported_extensions.KHR_ray_tracing_pipeline) {
1990 if (pdevice->info.ver >= 8) {
1998 p->subgroupQuadOperationsInAllStages = pdevice->info.ver >= 8;
2012 anv_get_physical_device_properties_1_2(struct anv_physical_device *pdevice,
2028 if (pdevice->is_alpha) {
2058 p->shaderDenormPreserveFloat16 = pdevice->info.ver > 8;
2123 if (pdevice->info.ver >= 8) {
2133 p->filterMinmaxSingleComponentFormats = pdevice->info.ver >= 9;
2134 p->filterMinmaxImageComponentMapping = pdevice->info.ver >= 9;
2139 isl_device_get_sample_counts(&pdevice->isl_dev);
2146 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice);
2153 anv_get_physical_device_properties_1_1(pdevice, &core_1_1);
2158 anv_get_physical_device_properties_1_2(pdevice, &core_1_2);
2246 props->hasPrimary = pdevice->has_master;
2247 props->primaryMajor = pdevice->master_major;
2248 props->primaryMinor = pdevice->master_minor;
2250 props->hasRender = pdevice->has_local;
2251 props->renderMajor = pdevice->local_major;
2252 props->renderMinor = pdevice->local_minor;
2302 properties->maxBufferSize = pdevice->isl_dev.max_buffer_size;
2309 properties->pciDomain = pdevice->pci_info.domain;
2310 properties->pciBus = pdevice->pci_info.bus;
2311 properties->pciDevice = pdevice->pci_info.device;
2312 properties->pciFunction = pdevice->pci_info.function;
2367 props->integerDotProduct4x8BitPackedUnsignedAccelerated = pdevice->info.ver >= 12;
2368 props->integerDotProduct4x8BitPackedSignedAccelerated = pdevice->info.ver >= 12;
2369 props->integerDotProduct4x8BitPackedMixedSignednessAccelerated = pdevice->info.ver >= 12;
2382 props->integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated = pdevice->info.ver >= 12;
2383 props->integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated = pdevice->info.ver >= 12;
2384 props->integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated = pdevice->info.ver >= 12;
2404 props->maxComputeWorkgroupSubgroups = pdevice->info.max_cs_workgroup_threads;
2414 isl_device_get_sample_counts(&pdevice->isl_dev);
2472 props->transformFeedbackDraw = pdevice->info.verx10 >= 75;
2508 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice);
2511 for (uint32_t i = 0; i < pdevice->queue.family_count; i++) {
2512 struct anv_queue_family *queue_family = &pdevice->queue.families[i];
2526 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice);
2529 for (uint32_t i = 0; i < pdevice->queue.family_count; i++) {
2530 struct anv_queue_family *queue_family = &pdevice->queue.families[i];
3612 struct anv_physical_device *pdevice = device->physical;
3627 assert(pAllocateInfo->memoryTypeIndex < pdevice->memory.type_count);
3629 &pdevice->memory.types[pAllocateInfo->memoryTypeIndex];
3630 assert(mem_type->heapIndex < pdevice->memory.heap_count);
3632 &pdevice->memory.heaps[mem_type->heapIndex];