summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_pipeline_cache.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-09-22 18:21:33 +0200
committerSamuel Pitoiset <[email protected]>2017-09-25 10:46:55 +0200
commit45ea90ef1f1018d51f7c58e1de593f8534c14e00 (patch)
tree560404a7a31aa0b58d8ea73215ea415deb3fc7bf /src/amd/vulkan/radv_pipeline_cache.c
parentd2cd9deeb8db5941e99b149fa637f711198ca741 (diff)
radv: make use of ATI_VENDOR_ID everywhere
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_pipeline_cache.c')
-rw-r--r--src/amd/vulkan/radv_pipeline_cache.c4
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;