diff options
author | Alex Smith <[email protected]> | 2017-12-06 10:28:14 +0000 |
---|---|---|
committer | Alex Smith <[email protected]> | 2017-12-07 08:58:34 +0000 |
commit | 8fda98c4f1dba2488b9e3ef3e820585f48a8a2f9 (patch) | |
tree | ec095444b2355842abf07607d2866bdb6b98a3bd /src/amd/vulkan/radv_private.h | |
parent | be2c434308ea9dedd6033a590cc072951d8ba469 (diff) |
radv: Add LLVM version to the device name string
Allows apps to determine the LLVM version so that they can decide
whether or not to enable workarounds for LLVM issues.
Signed-off-by: Alex Smith <[email protected]>
Cc: "17.2 17.3" <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 67c20111076..3edfda6b122 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -261,7 +261,7 @@ struct radv_physical_device { struct radeon_winsys *ws; struct radeon_info rad_info; char path[20]; - const char * name; + char name[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE]; uint8_t driver_uuid[VK_UUID_SIZE]; uint8_t device_uuid[VK_UUID_SIZE]; uint8_t cache_uuid[VK_UUID_SIZE]; |