Skip to content

Commit

Permalink
tests: Remove separateDepthStencilLayouts from init
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-lunarg committed Jan 14, 2025
1 parent cdbc347 commit 06a6118
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 5 additions & 4 deletions tests/unit/host_image_copy.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Copyright (c) 2023-2024 The Khronos Group Inc.
* Copyright (c) 2023-2024 Valve Corporation
* Copyright (c) 2023-2024 LunarG, Inc.
* Copyright (c) 2023-2024 Google, Inc.
* Copyright (c) 2023-2025 The Khronos Group Inc.
* Copyright (c) 2023-2025 Valve Corporation
* Copyright (c) 2023-2025 LunarG, Inc.
* Copyright (c) 2023-2025 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -2047,6 +2047,7 @@ TEST_F(NegativeHostImageCopy, TransitionImageLayoutNotSupported) {
}

TEST_F(NegativeHostImageCopy, TransitionImageLayoutDepthStencil) {
// need separateDepthStencilLayouts disabled
RETURN_IF_SKIP(InitHostImageCopyTest());

if (!CopyLayoutSupported(copy_src_layouts, copy_dst_layouts, VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL) ||
Expand Down
9 changes: 4 additions & 5 deletions tests/unit/host_image_copy_positive.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Copyright (c) 2023-2024 The Khronos Group Inc.
* Copyright (c) 2023-2024 Valve Corporation
* Copyright (c) 2023-2024 LunarG, Inc.
* Copyright (c) 2023-2024 Google, Inc.
* Copyright (c) 2023-2025 The Khronos Group Inc.
* Copyright (c) 2023-2025 Valve Corporation
* Copyright (c) 2023-2025 LunarG, Inc.
* Copyright (c) 2023-2025 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -22,7 +22,6 @@ bool HostImageCopyTest::CopyLayoutSupported(const std::vector<VkImageLayout> &sr
void HostImageCopyTest::InitHostImageCopyTest() {
SetTargetApiVersion(VK_API_VERSION_1_2);
AddRequiredExtensions(VK_EXT_HOST_IMAGE_COPY_EXTENSION_NAME);
AddRequiredFeature(vkt::Feature::separateDepthStencilLayouts);
AddRequiredFeature(vkt::Feature::hostImageCopy);
RETURN_IF_SKIP(Init());

Expand Down

0 comments on commit 06a6118

Please sign in to comment.