Browse Source
Merge pull request #12885 from Moonlacer/eclipse-fix
structured_control_flow: Add Samsung Proprietary Driver ID to Reorder Pass
pull/15/merge
liamwhite
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
2 deletions
-
src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
-
src/video_core/vulkan_common/vulkan_device.cpp
|
|
|
@ -381,8 +381,9 @@ PipelineCache::PipelineCache(Tegra::MaxwellDeviceMemoryManager& device_memory_, |
|
|
|
.support_float64 = device.IsFloat64Supported(), |
|
|
|
.support_float16 = device.IsFloat16Supported(), |
|
|
|
.support_int64 = device.IsShaderInt64Supported(), |
|
|
|
.needs_demote_reorder = |
|
|
|
driver_id == VK_DRIVER_ID_AMD_PROPRIETARY || driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE, |
|
|
|
.needs_demote_reorder = 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_viewport_index_layer = device.IsExtShaderViewportIndexLayerSupported(), |
|
|
|
.min_ssbo_alignment = static_cast<u32>(device.GetStorageBufferAlignment()), |
|
|
|
|
|
|
|
@ -868,6 +868,8 @@ std::string Device::GetDriverName() const { |
|
|
|
return "Qualcomm"; |
|
|
|
case VK_DRIVER_ID_ARM_PROPRIETARY: |
|
|
|
return "Mali"; |
|
|
|
case VK_DRIVER_ID_SAMSUNG_PROPRIETARY: |
|
|
|
return "Xclipse"; |
|
|
|
case VK_DRIVER_ID_GOOGLE_SWIFTSHADER: |
|
|
|
return "SwiftShader"; |
|
|
|
case VK_DRIVER_ID_BROADCOM_PROPRIETARY: |
|
|
|
|