Commit 5b09d90d by Jamie Madill Committed by Commit Bot

Skip RedefineBufferInUse Vulkan test on Win/Intel.

Also cleans up GenerateWorkarounds a bit for D3D11. BUG=angleproject:2221 Change-Id: I01667f850051045006d3439406aac3f4d094a374 Reviewed-on: https://chromium-review.googlesource.com/754915Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent a579ded1
......@@ -2130,24 +2130,19 @@ angle::WorkaroundsD3D GenerateWorkarounds(const Renderer11DeviceCaps &deviceCaps
if (IsIntel(adapterDesc.VendorId))
{
IntelDriverVersion capsVersion = d3d11_gl::GetIntelDriverVersion(deviceCaps.driverVersion);
workarounds.preAddTexelFetchOffsets = true;
workarounds.useSystemMemoryForConstantBuffers = true;
workarounds.disableB5G6R5Support =
d3d11_gl::GetIntelDriverVersion(deviceCaps.driverVersion) < IntelDriverVersion(4539);
workarounds.disableB5G6R5Support = capsVersion < IntelDriverVersion(4539);
if (IsSkylake(adapterDesc.DeviceId))
{
workarounds.callClearTwice =
d3d11_gl::GetIntelDriverVersion(deviceCaps.driverVersion) <
IntelDriverVersion(4771);
workarounds.emulateIsnanFloat =
d3d11_gl::GetIntelDriverVersion(deviceCaps.driverVersion) <
IntelDriverVersion(4542);
workarounds.callClearTwice = capsVersion < IntelDriverVersion(4771);
workarounds.emulateIsnanFloat = capsVersion < IntelDriverVersion(4542);
}
else if (IsBroadwell(adapterDesc.DeviceId) || IsHaswell(adapterDesc.DeviceId))
{
workarounds.rewriteUnaryMinusOperator =
d3d11_gl::GetIntelDriverVersion(deviceCaps.driverVersion) <
IntelDriverVersion(4624);
workarounds.rewriteUnaryMinusOperator = capsVersion < IntelDriverVersion(4624);
}
}
......
......@@ -819,6 +819,9 @@ TEST_P(SimpleStateChangeTest, DeleteBufferInUse)
// Tests that resizing a Buffer during a draw works as expected.
TEST_P(SimpleStateChangeTest, RedefineBufferInUse)
{
// See http://anglebug.com/2221
ANGLE_SKIP_TEST_IF(IsVulkan() && IsIntel() && IsWindows());
std::vector<GLColor> redColorData(6, GLColor::red);
GLBuffer buffer;
......
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