mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-23 01:54:08 +00:00
Add Samsung Proprietary Driver ID to Reorder Pass
For RDNA-based Samsung Xclipse GPUs
This commit is contained in:
parent
ffe3984353
commit
b51b47e707
2 changed files with 3 additions and 1 deletions
|
@ -382,7 +382,7 @@ PipelineCache::PipelineCache(Tegra::MaxwellDeviceMemoryManager& device_memory_,
|
||||||
.support_float16 = device.IsFloat16Supported(),
|
.support_float16 = device.IsFloat16Supported(),
|
||||||
.support_int64 = device.IsShaderInt64Supported(),
|
.support_int64 = device.IsShaderInt64Supported(),
|
||||||
.needs_demote_reorder =
|
.needs_demote_reorder =
|
||||||
driver_id == VK_DRIVER_ID_AMD_PROPRIETARY || driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE,
|
driver_id == VK_DRIVER_ID_AMD_PROPRIETARY || driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE || driver_id == VK_DRIVER_ID_SAMSUNG_PROPRIETARY,
|
||||||
.support_snorm_render_buffer = true,
|
.support_snorm_render_buffer = true,
|
||||||
.support_viewport_index_layer = device.IsExtShaderViewportIndexLayerSupported(),
|
.support_viewport_index_layer = device.IsExtShaderViewportIndexLayerSupported(),
|
||||||
.min_ssbo_alignment = static_cast<u32>(device.GetStorageBufferAlignment()),
|
.min_ssbo_alignment = static_cast<u32>(device.GetStorageBufferAlignment()),
|
||||||
|
|
|
@ -868,6 +868,8 @@ std::string Device::GetDriverName() const {
|
||||||
return "Qualcomm";
|
return "Qualcomm";
|
||||||
case VK_DRIVER_ID_ARM_PROPRIETARY:
|
case VK_DRIVER_ID_ARM_PROPRIETARY:
|
||||||
return "Mali";
|
return "Mali";
|
||||||
|
case VK_DRIVER_ID_SAMSUNG_PROPRIETARY:
|
||||||
|
return "Xclipse";
|
||||||
case VK_DRIVER_ID_GOOGLE_SWIFTSHADER:
|
case VK_DRIVER_ID_GOOGLE_SWIFTSHADER:
|
||||||
return "SwiftShader";
|
return "SwiftShader";
|
||||||
case VK_DRIVER_ID_BROADCOM_PROPRIETARY:
|
case VK_DRIVER_ID_BROADCOM_PROPRIETARY:
|
||||||
|
|
Loading…
Reference in a new issue