mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-05-12 16:09:42 -06:00
fix: Intel crash on startup.
Some checks failed
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / windows-qt (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / macos-qt (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-qt (push) Has been cancelled
Build and Release / linux-sdl-gcc (push) Has been cancelled
Build and Release / linux-qt-gcc (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
Some checks failed
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / windows-qt (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / macos-qt (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-qt (push) Has been cancelled
Build and Release / linux-sdl-gcc (push) Has been cancelled
Build and Release / linux-qt-gcc (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
This commit is contained in:
parent
4ecdcf77d1
commit
ce3aded3e5
@ -521,9 +521,11 @@ void Instance::CollectDeviceParameters() {
|
||||
LOG_INFO(Render_Vulkan, "GPU_Vulkan_Extensions: {}", extensions);
|
||||
}
|
||||
|
||||
void Instance::CollectToolingInfo() {
|
||||
if (GetDriverID() == vk::DriverId::eAmdProprietary) {
|
||||
// Currently causes issues with Reshade on AMD proprietary, disabled until fix released.
|
||||
void Instance::CollectToolingInfo() const {
|
||||
if (driver_id == vk::DriverId::eAmdProprietary ||
|
||||
driver_id == vk::DriverId::eIntelProprietaryWindows) {
|
||||
// AMD: Causes issues with Reshade.
|
||||
// Intel: Causes crash on start.
|
||||
return;
|
||||
}
|
||||
const auto [tools_result, tools] = physical_device.getToolProperties();
|
||||
|
||||
@ -311,7 +311,7 @@ private:
|
||||
|
||||
/// Collects telemetry information from the device.
|
||||
void CollectDeviceParameters();
|
||||
void CollectToolingInfo();
|
||||
void CollectToolingInfo() const;
|
||||
|
||||
/// Gets the supported feature flags for a format.
|
||||
[[nodiscard]] vk::FormatFeatureFlags2 GetFormatFeatureFlags(vk::Format format) const;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user