Skip to content

Commit

Permalink
tests: Fix support check in CooperativeMatrixKHR
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyBarbour committed Aug 22, 2023
1 parent 5a05387 commit 43e339c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/shader_cooperative_matrix_positive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ TEST_F(PositiveShaderCooperativeMatrix, CooperativeMatrixKHR) {
uint32_t props_count = 1;
VkResult props_result = vk::GetPhysicalDeviceCooperativeMatrixPropertiesKHR(gpu(), &props_count, &props);

if (props_result != VK_SUCCESS && props_result != VK_INCOMPLETE && props_count != 1) {
if ((props_result != VK_SUCCESS && props_result != VK_INCOMPLETE) || props_count != 1) {
GTEST_SKIP() << "GetPhysicalDeviceCooperativeMatrixPropertiesKHR does not report any matrices supported";
}

Expand Down

0 comments on commit 43e339c

Please sign in to comment.