We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85992f4 commit 647c4d0Copy full SHA for 647c4d0
Tests/DiligentCoreTest/src/ShaderTools/SPIRVShaderResourcesTest.cpp
@@ -26,7 +26,6 @@
26
27
#include "SPIRVShaderResources.hpp"
28
#include "GLSLangUtils.hpp"
29
-#include "SPIRVTools.hpp"
30
#include "DXCompiler.hpp"
31
#include "DefaultShaderSourceStreamFactory.h"
32
#include "RefCntAutoPtr.hpp"
@@ -38,6 +37,15 @@
38
37
#include <vector>
39
40
#include "TestingEnvironment.hpp"
+
41
+// Forward declaration for ConvertUBOToPushConstants from SPIRVTools.hpp
42
+// We cannot include SPIRVTools.hpp directly because it depends on spirv-tools headers
43
+namespace Diligent
44
+{
45
+std::vector<uint32_t> ConvertUBOToPushConstants(const std::vector<uint32_t>& SPIRV,
46
+ const std::string& BlockName);
47
+}
48
49
#include "gtest/gtest.h"
50
51
using namespace Diligent;
0 commit comments