diff --git a/src/tests/perf_tests/ShaderRobustnessPerf.cpp b/src/tests/perf_tests/ShaderRobustnessPerf.cpp index b180bc5e23..c279eadfdf 100644 --- a/src/tests/perf_tests/ShaderRobustnessPerf.cpp +++ b/src/tests/perf_tests/ShaderRobustnessPerf.cpp @@ -412,6 +412,9 @@ void ShaderRobustnessPerf::SetUp() { // TODO(crbug.com/tint/904): FXC emits bad output for this test DAWN_SUPPRESS_TEST_IF(IsD3D12() && !IsDXC() && HasToggleEnabled("use_tint_generator")); + // TODO(crbug.com/dawn/945): Generation via SPIRV-Cross fails + DAWN_SUPPRESS_TEST_IF(IsOpenGL() || !HasToggleEnabled("use_tint_generator")); + const size_t dataASize = mDimAOuter * mDimInner; std::vector dataA(dataASize); uint64_t byteASize = sizeof(float) * dataA.size(); diff --git a/src/tests/white_box/D3D12DescriptorHeapTests.cpp b/src/tests/white_box/D3D12DescriptorHeapTests.cpp index dfed91b50a..d0114e4ac3 100644 --- a/src/tests/white_box/D3D12DescriptorHeapTests.cpp +++ b/src/tests/white_box/D3D12DescriptorHeapTests.cpp @@ -736,7 +736,9 @@ TEST_P(D3D12DescriptorHeapTests, EncodeReuseUBOMultipleSubmits) { // Verify encoding many sampler and ubo worth of bindgroups. // Shader-visible heaps should switch out |kNumOfViewHeaps| times. -TEST_P(D3D12DescriptorHeapTests, EncodeManyUBOAndSamplers) { +// TODO(crbug.com/dawn/946): This test is currently disabled because the UBO +// layout is incorrect. Reenable after next tint roll. +TEST_P(D3D12DescriptorHeapTests, DISABLED_EncodeManyUBOAndSamplers) { DAWN_TEST_UNSUPPORTED_IF(!mD3DDevice->IsToggleEnabled( dawn_native::Toggle::UseD3D12SmallShaderVisibleHeapForTesting)); @@ -812,8 +814,7 @@ TEST_P(D3D12DescriptorHeapTests, EncodeManyUBOAndSamplers) { wgpu::RenderPipeline pipeline = device.CreateRenderPipeline(&pipelineDescriptor); // Encode a heap worth of descriptors |kNumOfHeaps| times. - constexpr float dummy = 0.0f; - constexpr float transform[] = {1.f, 0.f, dummy, dummy, 0.f, 1.f, dummy, dummy}; + constexpr float transform[] = {1.f, 0.f, 0.f, 1.f}; wgpu::Buffer transformBuffer = utils::CreateBufferFromData( device, &transform, sizeof(transform), wgpu::BufferUsage::Uniform);