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

@ -18,7 +18,7 @@ TEST(TestDestroy, TestDestroyTensorSingle)
pa[index] = pa[index] + 1;
})");
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;
@ -60,7 +60,7 @@ TEST(TestDestroy, TestDestroyTensorVector)
pa[index] = pa[index] + 1;
pb[index] = pb[index] + 2;
})");
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;
@ -105,7 +105,7 @@ TEST(TestDestroy, TestDestroySequenceSingle)
pa[index] = pa[index] + 1;
})");
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;