Suppress ShaderRobustnessPerf when using Tint + FXC
Also tighten previous suppressions to only apply when using the Tint generator. TBR=bclayton@google.com Bug: tint:904 Change-Id: I22210227c428eb38901904966ec2c3bd70ce607b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/55200 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
aee22d142b
commit
3a3952c4f5
|
@ -53,7 +53,7 @@ class VertexFormatTest : public DawnTest {
|
||||||
DAWN_SUPPRESS_TEST_IF(IsMetal() && IsIntel());
|
DAWN_SUPPRESS_TEST_IF(IsMetal() && IsIntel());
|
||||||
|
|
||||||
// TODO(crbug.com/tint/904): FXC emits bad output for this test
|
// TODO(crbug.com/tint/904): FXC emits bad output for this test
|
||||||
DAWN_SUPPRESS_TEST_IF(IsD3D12() && !IsDXC());
|
DAWN_SUPPRESS_TEST_IF(IsD3D12() && !IsDXC() && HasToggleEnabled("use_tint_generator"));
|
||||||
|
|
||||||
renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
|
renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
|
||||||
}
|
}
|
||||||
|
|
|
@ -409,6 +409,9 @@ void ShaderRobustnessPerf::SetUp() {
|
||||||
// TODO(crbug.com/dawn/786): D3D12_Microsoft_Basic_Render_Driver_CPU
|
// TODO(crbug.com/dawn/786): D3D12_Microsoft_Basic_Render_Driver_CPU
|
||||||
DAWN_SUPPRESS_TEST_IF(IsD3D12() && IsWARP());
|
DAWN_SUPPRESS_TEST_IF(IsD3D12() && IsWARP());
|
||||||
|
|
||||||
|
// TODO(crbug.com/tint/904): FXC emits bad output for this test
|
||||||
|
DAWN_SUPPRESS_TEST_IF(IsD3D12() && !IsDXC() && HasToggleEnabled("use_tint_generator"));
|
||||||
|
|
||||||
const size_t dataASize = mDimAOuter * mDimInner;
|
const size_t dataASize = mDimAOuter * mDimInner;
|
||||||
std::vector<float> dataA(dataASize);
|
std::vector<float> dataA(dataASize);
|
||||||
uint64_t byteASize = sizeof(float) * dataA.size();
|
uint64_t byteASize = sizeof(float) * dataA.size();
|
||||||
|
|
Loading…
Reference in New Issue