d3d11: enable TextureViewTest
Bug: dawn:1705 Bug: dawn:1810 Change-Id: I0a975e074c69d866f1b0b8454a364d05ba1989bc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132443 Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
c06625efc7
commit
61446e63b6
|
@ -441,6 +441,9 @@ TEST_P(TextureViewSamplingTest, SRGBReinterpretation) {
|
|||
// TODO(crbug.com/dawn/1360): OpenGLES doesn't support view format reinterpretation.
|
||||
DAWN_TEST_UNSUPPORTED_IF(IsOpenGLES());
|
||||
|
||||
// TODO(dawn:1810): D3D11 doesn't support view format reinterpretation.
|
||||
DAWN_SUPPRESS_TEST_IF(IsD3D11());
|
||||
|
||||
wgpu::TextureViewDescriptor viewDesc = {};
|
||||
viewDesc.format = wgpu::TextureFormat::RGBA8UnormSrgb;
|
||||
|
||||
|
@ -763,6 +766,9 @@ TEST_P(TextureViewRenderingTest, SRGBReinterpretationRenderAttachment) {
|
|||
// TODO(crbug.com/dawn/1360): OpenGLES doesn't support view format reinterpretation.
|
||||
DAWN_TEST_UNSUPPORTED_IF(IsOpenGLES());
|
||||
|
||||
// TODO(dawn:1810): D3D11 doesn't support view format reinterpretation.
|
||||
DAWN_SUPPRESS_TEST_IF(IsD3D11());
|
||||
|
||||
// Test will render into an SRGB view
|
||||
wgpu::TextureViewDescriptor viewDesc = {};
|
||||
viewDesc.format = wgpu::TextureFormat::RGBA8UnormSrgb;
|
||||
|
@ -869,6 +875,9 @@ TEST_P(TextureViewRenderingTest, SRGBReinterpretionResolveAttachment) {
|
|||
// TODO(crbug.com/dawn/1360): OpenGLES doesn't support view format reinterpretation.
|
||||
DAWN_TEST_UNSUPPORTED_IF(IsOpenGLES());
|
||||
|
||||
// TODO(dawn:1810): D3D11 doesn't support view format reinterpretation.
|
||||
DAWN_SUPPRESS_TEST_IF(IsD3D11());
|
||||
|
||||
// Test will resolve into an SRGB view
|
||||
wgpu::TextureViewDescriptor viewDesc = {};
|
||||
viewDesc.format = wgpu::TextureFormat::RGBA8UnormSrgb;
|
||||
|
@ -978,6 +987,7 @@ TEST_P(TextureViewRenderingTest, SRGBReinterpretionResolveAttachment) {
|
|||
}
|
||||
|
||||
DAWN_INSTANTIATE_TEST(TextureViewSamplingTest,
|
||||
D3D11Backend(),
|
||||
D3D12Backend(),
|
||||
MetalBackend(),
|
||||
OpenGLBackend(),
|
||||
|
@ -985,6 +995,7 @@ DAWN_INSTANTIATE_TEST(TextureViewSamplingTest,
|
|||
VulkanBackend());
|
||||
|
||||
DAWN_INSTANTIATE_TEST(TextureViewRenderingTest,
|
||||
D3D11Backend(),
|
||||
D3D12Backend(),
|
||||
D3D12Backend({}, {"use_d3d12_render_pass"}),
|
||||
MetalBackend(),
|
||||
|
@ -1025,6 +1036,7 @@ TEST_P(TextureViewTest, DestroyedTexture) {
|
|||
}
|
||||
|
||||
DAWN_INSTANTIATE_TEST(TextureViewTest,
|
||||
D3D11Backend(),
|
||||
D3D12Backend(),
|
||||
MetalBackend(),
|
||||
OpenGLBackend(),
|
||||
|
@ -1041,6 +1053,7 @@ TEST_P(TextureView3DTest, BasicTest) {
|
|||
}
|
||||
|
||||
DAWN_INSTANTIATE_TEST(TextureView3DTest,
|
||||
D3D11Backend(),
|
||||
D3D12Backend(),
|
||||
MetalBackend(),
|
||||
OpenGLBackend(),
|
||||
|
@ -1115,6 +1128,7 @@ TEST_P(TextureView1DTest, Sampling) {
|
|||
}
|
||||
|
||||
DAWN_INSTANTIATE_TEST(TextureView1DTest,
|
||||
D3D11Backend(),
|
||||
D3D12Backend(),
|
||||
MetalBackend(),
|
||||
VulkanBackend(),
|
||||
|
|
Loading…
Reference in New Issue