mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Add function to check if running on AMD
This commit is contained in:
@@ -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