Lines Matching refs:pdevice
696 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); in anv_GetPhysicalDeviceFeatures()
719 .textureCompressionETC2 = pdevice->info.gen >= 8 || in anv_GetPhysicalDeviceFeatures()
720 pdevice->info.is_baytrail, in anv_GetPhysicalDeviceFeatures()
721 .textureCompressionASTC_LDR = pdevice->info.gen >= 9, /* FINISHME CHV */ in anv_GetPhysicalDeviceFeatures()
738 .shaderFloat64 = pdevice->info.gen >= 8, in anv_GetPhysicalDeviceFeatures()
739 .shaderInt64 = pdevice->info.gen >= 8, in anv_GetPhysicalDeviceFeatures()
748 pdevice->compiler->scalar_stage[MESA_SHADER_VERTEX] && in anv_GetPhysicalDeviceFeatures()
749 pdevice->compiler->scalar_stage[MESA_SHADER_GEOMETRY]; in anv_GetPhysicalDeviceFeatures()
805 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); in anv_GetPhysicalDeviceProperties()
806 const struct gen_device_info *devinfo = &pdevice->info; in anv_GetPhysicalDeviceProperties()
816 isl_device_get_sample_counts(&pdevice->isl_dev); in anv_GetPhysicalDeviceProperties()
933 .apiVersion = anv_physical_device_api_version(pdevice), in anv_GetPhysicalDeviceProperties()
936 .deviceID = pdevice->chipset_id, in anv_GetPhysicalDeviceProperties()
943 "%s", pdevice->name); in anv_GetPhysicalDeviceProperties()
945 pdevice->pipeline_cache_uuid, VK_UUID_SIZE); in anv_GetPhysicalDeviceProperties()
952 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); in anv_GetPhysicalDeviceProperties2KHR()
969 memcpy(id_props->deviceUUID, pdevice->device_uuid, VK_UUID_SIZE); in anv_GetPhysicalDeviceProperties2KHR()
970 memcpy(id_props->driverUUID, pdevice->driver_uuid, VK_UUID_SIZE); in anv_GetPhysicalDeviceProperties2KHR()
1732 struct anv_physical_device *pdevice = &device->instance->physicalDevice; in anv_AllocateMemory() local
1768 assert(pAllocateInfo->memoryTypeIndex < pdevice->memory.type_count); in anv_AllocateMemory()
1769 mem->type = &pdevice->memory.types[pAllocateInfo->memoryTypeIndex]; in anv_AllocateMemory()
1865 assert(mem->type->heapIndex < pdevice->memory.heap_count); in anv_AllocateMemory()
1866 if (pdevice->memory.heaps[mem->type->heapIndex].supports_48bit_addresses) in anv_AllocateMemory()
1877 } else if (pdevice->has_exec_async) { in anv_AllocateMemory()
1914 struct anv_physical_device *pdevice = &device->instance->physicalDevice; in anv_GetMemoryFdPropertiesKHR() local
1920 (1 << pdevice->memory.type_count) - 1; in anv_GetMemoryFdPropertiesKHR()
2089 struct anv_physical_device *pdevice = &device->instance->physicalDevice; in anv_GetBufferMemoryRequirements() local
2099 for (uint32_t i = 0; i < pdevice->memory.type_count; i++) { in anv_GetBufferMemoryRequirements()
2100 uint32_t valid_usage = pdevice->memory.types[i].valid_buffer_usage; in anv_GetBufferMemoryRequirements()
2148 struct anv_physical_device *pdevice = &device->instance->physicalDevice; in anv_GetImageMemoryRequirements() local
2159 uint32_t memory_types = (1ull << pdevice->memory.type_count) - 1; in anv_GetImageMemoryRequirements()
2180 struct anv_physical_device *pdevice = &device->instance->physicalDevice; in anv_GetImageMemoryRequirements2KHR() local
2199 (1ull << pdevice->memory.type_count) - 1; in anv_GetImageMemoryRequirements2KHR()