Updating Kompute.hpp

This commit is contained in:
aliPMPAINT 2021-03-31 11:23:16 +04:30
parent 59a02751e4
commit 61053d633d
2 changed files with 2 additions and 2 deletions

View file

@ -88,7 +88,7 @@ if(KOMPUTE_OPT_CODE_COVERAGE)
${CODECOV_DIR}html/)
endif()
# If glslag was cloned, then SPIRV/GlslangToSpv.h will be used instead of glslang/SPIRV/GlslangToSpv.h
# If glslang was cloned, then SPIRV/GlslangToSpv.h will be used instead of glslang/SPIRV/GlslangToSpv.h
if(KOMPUTE_OPT_REPO_SUBMODULE_BUILD)
add_compile_definitions(USE_EXTERNAL_GLSLANG)
endif()

View file

@ -729,7 +729,7 @@ extern py::object kp_debug, kp_info, kp_warning, kp_error;
#include <iostream>
#include <vector>
#if USE_EXTERNAL_SHADER
#ifdef USE_EXTERNAL_GLSLANG
#include <SPIRV/GlslangToSpv.h>
#else
#include <glslang/SPIRV/GlslangToSpv.h>