mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-15 08:39:21 +00:00
Add function to check if running on AMD
This commit is contained in:
1 parent
a67f559308
commit
c8ade743a2
1 file changed
+2
@@ -278,6 +278,8 @@ private:
|
||||
{ return m_PhysicalDeviceData.features; }
|
||||
const VkPhysicalDeviceProperties &GetDeviceProps()
|
||||
{ return m_PhysicalDeviceData.props; }
|
||||
const bool IsAMD()
|
||||
{ return m_PhysicalDeviceData.props.vendorID == 0x1002; }
|
||||
const VkFormatProperties &GetFormatProperties(VkFormat f)
|
||||
{ return m_PhysicalDeviceData.fmtprops[f]; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user