mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-25 04:45:00 +00:00
fix: Intel crash on startup.
This commit is contained in:
parent
4ecdcf77d1
commit
ce3aded3e5
2 changed files with 6 additions and 4 deletions
|
@ -521,9 +521,11 @@ void Instance::CollectDeviceParameters() {
|
||||||
LOG_INFO(Render_Vulkan, "GPU_Vulkan_Extensions: {}", extensions);
|
LOG_INFO(Render_Vulkan, "GPU_Vulkan_Extensions: {}", extensions);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Instance::CollectToolingInfo() {
|
void Instance::CollectToolingInfo() const {
|
||||||
if (GetDriverID() == vk::DriverId::eAmdProprietary) {
|
if (driver_id == vk::DriverId::eAmdProprietary ||
|
||||||
// Currently causes issues with Reshade on AMD proprietary, disabled until fix released.
|
driver_id == vk::DriverId::eIntelProprietaryWindows) {
|
||||||
|
// AMD: Causes issues with Reshade.
|
||||||
|
// Intel: Causes crash on start.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const auto [tools_result, tools] = physical_device.getToolProperties();
|
const auto [tools_result, tools] = physical_device.getToolProperties();
|
||||||
|
|
|
@ -311,7 +311,7 @@ private:
|
||||||
|
|
||||||
/// Collects telemetry information from the device.
|
/// Collects telemetry information from the device.
|
||||||
void CollectDeviceParameters();
|
void CollectDeviceParameters();
|
||||||
void CollectToolingInfo();
|
void CollectToolingInfo() const;
|
||||||
|
|
||||||
/// Gets the supported feature flags for a format.
|
/// Gets the supported feature flags for a format.
|
||||||
[[nodiscard]] vk::FormatFeatureFlags2 GetFormatFeatureFlags(vk::Format format) const;
|
[[nodiscard]] vk::FormatFeatureFlags2 GetFormatFeatureFlags(vk::Format format) const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue