Commit 49ad8eaa by Rafael Cintron Committed by Commit Bot

Enable allowClearForRobustResourceInit for Intel drivers

NVidia drivers have no trouble clearing textures without showing corruption. AMD ones do. Intel drivers that have trouble have been relegated to the DX9 runtime by Chromium. Bug: angleproject:4460 Change-Id: I9ffbfa041e0f7ef8e05edcc14274bf9530eafae3 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2147821Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com>
parent 1478ec3c
...@@ -2465,9 +2465,9 @@ void InitializeFeatures(const Renderer11DeviceCaps &deviceCaps, ...@@ -2465,9 +2465,9 @@ void InitializeFeatures(const Renderer11DeviceCaps &deviceCaps,
ANGLE_FEATURE_CONDITION(features, selectViewInGeometryShader, ANGLE_FEATURE_CONDITION(features, selectViewInGeometryShader,
!deviceCaps.supportsVpRtIndexWriteFromVertexShader); !deviceCaps.supportsVpRtIndexWriteFromVertexShader);
// Intel and AMD drivers have trouble clearing textures without causing corruption. NVidia, // NVidia drivers have no trouble clearing textures without showing corruption. AMD ones do.
// on the other hand, can handle. // Intel drivers that have trouble have been blocklisted to the DX9 runtime by Chromium.
ANGLE_FEATURE_CONDITION(features, allowClearForRobustResourceInit, isNvidia); ANGLE_FEATURE_CONDITION(features, allowClearForRobustResourceInit, isNvidia || isIntel);
// Don't translate uniform block to StructuredBuffer on Windows 7 and earlier. This is targeted // Don't translate uniform block to StructuredBuffer on Windows 7 and earlier. This is targeted
// to work around a bug that fails to allocate ShaderResourceView for StructuredBuffer. // to work around a bug that fails to allocate ShaderResourceView for StructuredBuffer.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment