Disable test where FXC emits bad output
Bug: tint:904 Change-Id: Ibefd0d83914e39b5a2db942153f183e6f334fcc8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/54880 Auto-Submit: Ben Clayton <bclayton@google.com> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
parent
ff7eb1641e
commit
cd417bc9a1
|
@ -819,6 +819,10 @@ bool DawnTestBase::RunSuppressedTests() const {
|
||||||
return gTestEnv->RunSuppressedTests();
|
return gTestEnv->RunSuppressedTests();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool DawnTestBase::IsDXC() const {
|
||||||
|
return HasToggleEnabled("use_dxc");
|
||||||
|
}
|
||||||
|
|
||||||
bool DawnTestBase::IsAsan() const {
|
bool DawnTestBase::IsAsan() const {
|
||||||
#if defined(ADDRESS_SANITIZER)
|
#if defined(ADDRESS_SANITIZER)
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -295,6 +295,8 @@ class DawnTestBase {
|
||||||
bool IsBackendValidationEnabled() const;
|
bool IsBackendValidationEnabled() const;
|
||||||
bool RunSuppressedTests() const;
|
bool RunSuppressedTests() const;
|
||||||
|
|
||||||
|
bool IsDXC() const;
|
||||||
|
|
||||||
bool IsAsan() const;
|
bool IsAsan() const;
|
||||||
|
|
||||||
bool HasToggleEnabled(const char* workaround) const;
|
bool HasToggleEnabled(const char* workaround) const;
|
||||||
|
|
|
@ -692,6 +692,9 @@ TEST_P(VertexFormatTest, Float16x2) {
|
||||||
// Fails on NVIDIA's Vulkan drivers on CQ but passes locally.
|
// Fails on NVIDIA's Vulkan drivers on CQ but passes locally.
|
||||||
DAWN_SUPPRESS_TEST_IF(IsVulkan() && IsNvidia());
|
DAWN_SUPPRESS_TEST_IF(IsVulkan() && IsNvidia());
|
||||||
|
|
||||||
|
// TODO(crbug.com/tint/904): FXC emits bad output for this test
|
||||||
|
DAWN_SUPPRESS_TEST_IF(IsD3D12() && !IsDXC());
|
||||||
|
|
||||||
std::vector<uint16_t> vertexData =
|
std::vector<uint16_t> vertexData =
|
||||||
Float32ToFloat16(std::vector<float>({14.8f, -0.0f, 22.5f, 1.3f, +0.0f, -24.8f}));
|
Float32ToFloat16(std::vector<float>({14.8f, -0.0f, 22.5f, 1.3f, +0.0f, -24.8f}));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue