Enable two cases in TextureZeroInitTests with swiftshader
This patch enables two tests with swiftshader after the fix in https://dawn-review.googlesource.com/c/dawn/+/23200. BUG=dawn:22 TEST=dawn_end2end_tests Change-Id: I27ff5afe6735aff3c416cbe65d039006b1ceae55 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24040 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
ff90599cdf
commit
330c272fc4
|
@ -133,10 +133,6 @@ TEST_P(TextureZeroInitTest, CopyTextureToBufferSource) {
|
|||
// This tests that the code path of CopyTextureToBuffer with multiple texture array layers clears
|
||||
// correctly to Zero after first usage
|
||||
TEST_P(TextureZeroInitTest, CopyMultipleTextureArrayLayersToBufferSource) {
|
||||
// TODO(jiawei.shao@intel.com): investigate why copies with multiple texture array layers fail
|
||||
// with swiftshader.
|
||||
DAWN_SKIP_TEST_IF(IsSwiftshader());
|
||||
|
||||
constexpr uint32_t kArrayLayers = 6u;
|
||||
|
||||
const wgpu::TextureDescriptor descriptor = CreateTextureDescriptor(
|
||||
|
@ -328,10 +324,6 @@ TEST_P(TextureZeroInitTest, CopyBufferToTextureHalf) {
|
|||
// This tests CopyBufferToTexture fully overwrites a range of subresources, so lazy initialization
|
||||
// is needed for neither the subresources involved in the copy nor the other subresources.
|
||||
TEST_P(TextureZeroInitTest, CopyBufferToTextureMultipleArrayLayers) {
|
||||
// TODO(jiawei.shao@intel.com): investigate why copies with multiple texture array layers fail
|
||||
// with swiftshader.
|
||||
DAWN_SKIP_TEST_IF(IsSwiftshader());
|
||||
|
||||
wgpu::TextureDescriptor descriptor = CreateTextureDescriptor(
|
||||
1, 6, wgpu::TextureUsage::CopyDst | wgpu::TextureUsage::CopySrc, kColorFormat);
|
||||
wgpu::Texture texture = device.CreateTexture(&descriptor);
|
||||
|
|
Loading…
Reference in New Issue