diff options
Diffstat (limited to 'src/amd/vulkan/radv_pipeline_cache.c')
-rw-r--r-- | src/amd/vulkan/radv_pipeline_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_pipeline_cache.c b/src/amd/vulkan/radv_pipeline_cache.c index ba5104339ac..fa760f31eee 100644 --- a/src/amd/vulkan/radv_pipeline_cache.c +++ b/src/amd/vulkan/radv_pipeline_cache.c @@ -330,7 +330,7 @@ radv_pipeline_cache_load(struct radv_pipeline_cache *cache, return; if (header.header_version != VK_PIPELINE_CACHE_HEADER_VERSION_ONE) return; - if (header.vendor_id != 0x1002) + if (header.vendor_id != ATI_VENDOR_ID) return; if (header.device_id != device->physical_device->rad_info.pci_id) return; @@ -431,7 +431,7 @@ VkResult radv_GetPipelineCacheData( header = p; header->header_size = sizeof(*header); header->header_version = VK_PIPELINE_CACHE_HEADER_VERSION_ONE; - header->vendor_id = 0x1002; + header->vendor_id = ATI_VENDOR_ID; header->device_id = device->physical_device->rad_info.pci_id; memcpy(header->uuid, device->physical_device->cache_uuid, VK_UUID_SIZE); p += header->header_size; |