Updated tests to not use namespaace for compileShader

This commit is contained in:
Alejandro Saucedo 2021-07-21 20:30:21 +01:00
parent b7fd1b4d79
commit 15346ee505
10 changed files with 36 additions and 57 deletions

View file

@ -24,7 +24,7 @@ TEST(TestPushConstants, TestConstantsAlgoDispatchOverride)
pa[2] += pcs.z;
})");
std::vector<uint32_t> spirv = kp_test_utils::Shader::compileSource(shader);
std::vector<uint32_t> spirv = compileSource(shader);
std::shared_ptr<kp::Sequence> sq = nullptr;
@ -69,7 +69,7 @@ TEST(TestPushConstants, TestConstantsAlgoDispatchNoOverride)
pa[2] += pcs.z;
})");
std::vector<uint32_t> spirv = kp_test_utils::Shader::compileSource(shader);
std::vector<uint32_t> spirv = compileSource(shader);
std::shared_ptr<kp::Sequence> sq = nullptr;
@ -114,7 +114,7 @@ TEST(TestPushConstants, TestConstantsWrongSize)
pa[2] += pcs.z;
})");
std::vector<uint32_t> spirv = kp_test_utils::Shader::compileSource(shader);
std::vector<uint32_t> spirv = compileSource(shader);
std::shared_ptr<kp::Sequence> sq = nullptr;