linux: Better GPU debugging (#14706)
Release Notes: - linux: Added GPU information to `editor: Copy System Specs to Clipboard` - linux: Show a prominant warning before running under llvmpipe and similar.
This commit is contained in:
parent
c262c81e52
commit
bdf1d4edea
16 changed files with 136 additions and 48 deletions
|
@ -341,3 +341,16 @@ impl<T> Flatten<T> for Result<T> {
|
|||
self
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Default, Debug)]
|
||||
/// Information about the GPU GPUI is running on
|
||||
pub struct GPUSpecs {
|
||||
/// true if the GPU is really a fake (like llvmpipe) running on the CPU
|
||||
pub is_software_emulated: bool,
|
||||
/// Name of the device as reported by vulkan
|
||||
pub device_name: String,
|
||||
/// Name of the driver as reported by vulkan
|
||||
pub driver_name: String,
|
||||
/// Further driver info as reported by vulkan
|
||||
pub driver_info: String,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue