Updated glslang as core dependency

This commit is contained in:
Alejandro Saucedo 2021-07-20 19:22:51 +01:00
parent 03bea35fce
commit 1357549900
28 changed files with 119 additions and 217 deletions

View file

@ -2,6 +2,8 @@
#include "kompute/Kompute.hpp"
#include "kompute_test/Shader.hpp"
#include "fmt/ranges.h"
TEST(TestPushConstants, TestConstantsAlgoDispatchOverride)
@ -22,7 +24,7 @@ TEST(TestPushConstants, TestConstantsAlgoDispatchOverride)
pa[2] += pcs.z;
})");
std::vector<uint32_t> spirv = kp::Shader::compileSource(shader);
std::vector<uint32_t> spirv = kp_test_utils::Shader::compileSource(shader);
std::shared_ptr<kp::Sequence> sq = nullptr;
@ -67,7 +69,7 @@ TEST(TestPushConstants, TestConstantsAlgoDispatchNoOverride)
pa[2] += pcs.z;
})");
std::vector<uint32_t> spirv = kp::Shader::compileSource(shader);
std::vector<uint32_t> spirv = kp_test_utils::Shader::compileSource(shader);
std::shared_ptr<kp::Sequence> sq = nullptr;
@ -112,7 +114,7 @@ TEST(TestPushConstants, TestConstantsWrongSize)
pa[2] += pcs.z;
})");
std::vector<uint32_t> spirv = kp::Shader::compileSource(shader);
std::vector<uint32_t> spirv = kp_test_utils::Shader::compileSource(shader);
std::shared_ptr<kp::Sequence> sq = nullptr;