Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions runtime/test/vk_null_descriptor_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
} \
} while (0)

// Everything but main needs the shader glslangValidator builds; without it CMake leaves the path undefined and
// main reports the test unsupported, so none of this may name it.
#ifdef LEONIDA_TEST_NULL_DESCRIPTORS_SPV
namespace {

using namespace leonida;
Expand Down Expand Up @@ -244,6 +247,7 @@ int check_common(const std::array<std::uint32_t, result_words>& r) {
}

} // namespace
#endif // LEONIDA_TEST_NULL_DESCRIPTORS_SPV

int main() {
#ifndef LEONIDA_TEST_NULL_DESCRIPTORS_SPV
Expand Down