• Home
  • Raw
  • Download

Lines Matching refs:pdevice

786    list_for_each_entry_safe(struct anv_physical_device, pdevice,  in anv_DestroyInstance()
788 anv_physical_device_destroy(pdevice); in anv_DestroyInstance()
828 struct anv_physical_device *pdevice; in anv_enumerate_physical_devices() local
830 &pdevice); in anv_enumerate_physical_devices()
841 list_addtail(&pdevice->link, &instance->physical_devices); in anv_enumerate_physical_devices()
862 list_for_each_entry(struct anv_physical_device, pdevice, in anv_EnumeratePhysicalDevices()
865 *i = anv_physical_device_to_handle(pdevice); in anv_EnumeratePhysicalDevices()
885 list_for_each_entry(struct anv_physical_device, pdevice, in anv_EnumeratePhysicalDeviceGroups()
890 p->physicalDevices[0] = anv_physical_device_to_handle(pdevice); in anv_EnumeratePhysicalDeviceGroups()
905 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); in anv_GetPhysicalDeviceFeatures()
922 .depthBounds = pdevice->info.gen >= 12, in anv_GetPhysicalDeviceFeatures()
928 .textureCompressionETC2 = pdevice->info.gen >= 8 || in anv_GetPhysicalDeviceFeatures()
929 pdevice->info.is_baytrail, in anv_GetPhysicalDeviceFeatures()
930 .textureCompressionASTC_LDR = pdevice->info.gen >= 9, /* FINISHME CHV */ in anv_GetPhysicalDeviceFeatures()
947 .shaderFloat64 = pdevice->info.gen >= 8 && in anv_GetPhysicalDeviceFeatures()
948 pdevice->info.has_64bit_float, in anv_GetPhysicalDeviceFeatures()
949 .shaderInt64 = pdevice->info.gen >= 8 && in anv_GetPhysicalDeviceFeatures()
950 pdevice->info.has_64bit_int, in anv_GetPhysicalDeviceFeatures()
951 .shaderInt16 = pdevice->info.gen >= 8, in anv_GetPhysicalDeviceFeatures()
952 .shaderResourceMinLod = pdevice->info.gen >= 9, in anv_GetPhysicalDeviceFeatures()
959 pdevice->compiler->scalar_stage[MESA_SHADER_VERTEX] && in anv_GetPhysicalDeviceFeatures()
960 pdevice->compiler->scalar_stage[MESA_SHADER_GEOMETRY]; in anv_GetPhysicalDeviceFeatures()
962 struct anv_app_info *app_info = &pdevice->instance->app_info; in anv_GetPhysicalDeviceFeatures()
973 anv_get_physical_device_features_1_1(struct anv_physical_device *pdevice, in anv_get_physical_device_features_1_1() argument
978 f->storageBuffer16BitAccess = pdevice->info.gen >= 8; in anv_get_physical_device_features_1_1()
979 f->uniformAndStorageBuffer16BitAccess = pdevice->info.gen >= 8; in anv_get_physical_device_features_1_1()
980 f->storagePushConstant16 = pdevice->info.gen >= 8; in anv_get_physical_device_features_1_1()
993 anv_get_physical_device_features_1_2(struct anv_physical_device *pdevice, in anv_get_physical_device_features_1_2() argument
1000 f->storageBuffer8BitAccess = pdevice->info.gen >= 8; in anv_get_physical_device_features_1_2()
1001 f->uniformAndStorageBuffer8BitAccess = pdevice->info.gen >= 8; in anv_get_physical_device_features_1_2()
1002 f->storagePushConstant8 = pdevice->info.gen >= 8; in anv_get_physical_device_features_1_2()
1003 f->shaderBufferInt64Atomics = pdevice->info.gen >= 9 && in anv_get_physical_device_features_1_2()
1004 pdevice->use_softpin; in anv_get_physical_device_features_1_2()
1006 f->shaderFloat16 = pdevice->info.gen >= 8; in anv_get_physical_device_features_1_2()
1007 f->shaderInt8 = pdevice->info.gen >= 8; in anv_get_physical_device_features_1_2()
1009 bool descIndexing = pdevice->has_a64_buffer_access && in anv_get_physical_device_features_1_2()
1010 pdevice->has_bindless_images; in anv_get_physical_device_features_1_2()
1033 f->samplerFilterMinmax = pdevice->info.gen >= 9; in anv_get_physical_device_features_1_2()
1041 f->bufferDeviceAddress = pdevice->has_a64_buffer_access; in anv_get_physical_device_features_1_2()
1042 f->bufferDeviceAddressCaptureReplay = pdevice->has_a64_buffer_access; in anv_get_physical_device_features_1_2()
1056 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); in anv_GetPhysicalDeviceFeatures2()
1062 anv_get_physical_device_features_1_1(pdevice, &core_1_1); in anv_GetPhysicalDeviceFeatures2()
1067 anv_get_physical_device_features_1_2(pdevice, &core_1_2); in anv_GetPhysicalDeviceFeatures2()
1104 features->bufferDeviceAddress = pdevice->has_a64_buffer_access; in anv_GetPhysicalDeviceFeatures2()
1129 features->conditionalRendering = pdevice->info.gen >= 8 || in anv_GetPhysicalDeviceFeatures2()
1130 pdevice->info.is_haswell; in anv_GetPhysicalDeviceFeatures2()
1131 features->inheritedConditionalRendering = pdevice->info.gen >= 8 || in anv_GetPhysicalDeviceFeatures2()
1132 pdevice->info.is_haswell; in anv_GetPhysicalDeviceFeatures2()
1139 features->customBorderColors = pdevice->info.gen >= 8; in anv_GetPhysicalDeviceFeatures2()
1140 features->customBorderColorWithoutFormat = pdevice->info.gen >= 8; in anv_GetPhysicalDeviceFeatures2()
1161 features->fragmentShaderSampleInterlock = pdevice->info.gen >= 9; in anv_GetPhysicalDeviceFeatures2()
1162 features->fragmentShaderPixelInterlock = pdevice->info.gen >= 9; in anv_GetPhysicalDeviceFeatures2()
1235 features->smoothLines = pdevice->info.gen < 10; in anv_GetPhysicalDeviceFeatures2()
1440 anv_get_physical_device_features_1_1(pdevice, (void *)ext); in anv_GetPhysicalDeviceFeatures2()
1444 anv_get_physical_device_features_1_2(pdevice, (void *)ext); in anv_GetPhysicalDeviceFeatures2()
1489 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); in anv_GetPhysicalDeviceProperties()
1490 const struct gen_device_info *devinfo = &pdevice->info; in anv_GetPhysicalDeviceProperties()
1496 const uint32_t max_ssbos = pdevice->has_a64_buffer_access ? UINT16_MAX : 64; in anv_GetPhysicalDeviceProperties()
1498 pdevice->has_bindless_images ? UINT16_MAX : 128; in anv_GetPhysicalDeviceProperties()
1500 pdevice->has_bindless_samplers ? UINT16_MAX : in anv_GetPhysicalDeviceProperties()
1503 pdevice->has_bindless_images ? UINT16_MAX : MAX_IMAGES; in anv_GetPhysicalDeviceProperties()
1509 pdevice->has_bindless_images && pdevice->has_a64_buffer_access in anv_GetPhysicalDeviceProperties()
1516 isl_device_get_sample_counts(&pdevice->isl_dev); in anv_GetPhysicalDeviceProperties()
1640 .apiVersion = anv_physical_device_api_version(pdevice), in anv_GetPhysicalDeviceProperties()
1643 .deviceID = pdevice->info.chipset_id, in anv_GetPhysicalDeviceProperties()
1650 "%s", pdevice->name); in anv_GetPhysicalDeviceProperties()
1652 pdevice->pipeline_cache_uuid, VK_UUID_SIZE); in anv_GetPhysicalDeviceProperties()
1656 anv_get_physical_device_properties_1_1(struct anv_physical_device *pdevice, in anv_get_physical_device_properties_1_1() argument
1661 memcpy(p->deviceUUID, pdevice->device_uuid, VK_UUID_SIZE); in anv_get_physical_device_properties_1_1()
1662 memcpy(p->driverUUID, pdevice->driver_uuid, VK_UUID_SIZE); in anv_get_physical_device_properties_1_1()
1670 if (pdevice->compiler->scalar_stage[stage]) in anv_get_physical_device_properties_1_1()
1680 if (pdevice->info.gen >= 8) { in anv_get_physical_device_properties_1_1()
1688 p->subgroupQuadOperationsInAllStages = pdevice->info.gen >= 8; in anv_get_physical_device_properties_1_1()
1702 anv_get_physical_device_properties_1_2(struct anv_physical_device *pdevice, in anv_get_physical_device_properties_1_2() argument
1734 p->shaderDenormPreserveFloat16 = pdevice->info.gen > 8; in anv_get_physical_device_properties_1_2()
1799 if (pdevice->info.gen >= 8) { in anv_get_physical_device_properties_1_2()
1809 p->filterMinmaxSingleComponentFormats = pdevice->info.gen >= 9; in anv_get_physical_device_properties_1_2()
1810 p->filterMinmaxImageComponentMapping = pdevice->info.gen >= 9; in anv_get_physical_device_properties_1_2()
1815 isl_device_get_sample_counts(&pdevice->isl_dev); in anv_get_physical_device_properties_1_2()
1822 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); in anv_GetPhysicalDeviceProperties2()
1829 anv_get_physical_device_properties_1_1(pdevice, &core_1_1); in anv_GetPhysicalDeviceProperties2()
1834 anv_get_physical_device_properties_1_2(pdevice, &core_1_2); in anv_GetPhysicalDeviceProperties2()
1975 properties->pciDomain = pdevice->pci_info.domain; in anv_GetPhysicalDeviceProperties2()
1976 properties->pciBus = pdevice->pci_info.bus; in anv_GetPhysicalDeviceProperties2()
1977 properties->pciDevice = pdevice->pci_info.device; in anv_GetPhysicalDeviceProperties2()
1978 properties->pciFunction = pdevice->pci_info.function; in anv_GetPhysicalDeviceProperties2()
2059 props->maxComputeWorkgroupSubgroups = MIN2(64, pdevice->info.max_cs_threads); in anv_GetPhysicalDeviceProperties2()
2136 props->transformFeedbackDraw = pdevice->info.is_haswell || in anv_GetPhysicalDeviceProperties2()
2137 pdevice->info.gen >= 8; in anv_GetPhysicalDeviceProperties2()
2150 anv_get_physical_device_properties_1_1(pdevice, (void *)ext); in anv_GetPhysicalDeviceProperties2()
2154 anv_get_physical_device_properties_1_2(pdevice, (void *)ext); in anv_GetPhysicalDeviceProperties2()
3443 struct anv_physical_device *pdevice = device->physical; in anv_AllocateMemory() local
3458 assert(pAllocateInfo->memoryTypeIndex < pdevice->memory.type_count); in anv_AllocateMemory()
3460 &pdevice->memory.types[pAllocateInfo->memoryTypeIndex]; in anv_AllocateMemory()
3461 assert(mem_type->heapIndex < pdevice->memory.heap_count); in anv_AllocateMemory()
3463 &pdevice->memory.heaps[mem_type->heapIndex]; in anv_AllocateMemory()
3474 assert(pAllocateInfo->memoryTypeIndex < pdevice->memory.type_count); in anv_AllocateMemory()