shaderc
shaderc copied to clipboard
A collection of tools, libraries, and tests for Vulkan shader compilation.
The precompiled binaries offer the file `shaderc_combined.lib` (on Windows; the Linux ones are named accordingly), which is supposed to be the entire library in one statically linked file. The only...
Just a simple change to keep everything consistent. There is no wa of setting the entry point name for preprocessGlsl in the wrapper code. Cheers.
``` [206/773] Building CXX object third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/ccp_pass.cpp.o FAILED: third_party/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/ccp_pass.cpp.o /usr/bin/c++ -DSPIRV_CHECK_CONTEXT -DSPIRV_COLOR_TERMINAL -DSPIRV_LINUX -DSPIRV_TIMER_ENABLED -I../third_party/spirv-tools -I../third_party/spirv-tools/include -I../third_party/spirv-headers/include -Ithird_party/spirv-tools -Wimplicit-fallthrough -O3 -DNDEBUG -fPIC -Wextra-semi -w -Wall -Wextra -Wnon-virtual-dtor -Wno-missing-field-initializers -Werror -std=c++11 -fno-exceptions...
See also https://github.com/KhronosGroup/SPIRV-Tools/issues/3214
Depends on the success and maybe the form of https://github.com/KhronosGroup/glslang/pull/1070 We might just have to set a Glslang compilation flag, or run the passes ourselves.
I want to generate spirv without `GL_GOOGLE_cpp_style_line_directive` and `GL_GOOGLE_include_directive` extensions. They are not supported on my platform.
Using glslangValidator user can do entry point renaming (useful for GLSL) `glslangValidator -e myEntry --source-entrypoint main ` Seems shaderc is missing this functionality? Would be useful when several GLSL shaders...
It would be nice to have a dashboard or server with the current state of test coverage data for the library, instead of having to manually generate it by hand.
``` `FAILED: glslc/glslc : && /usr/bin/g++ -m32 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wimplicit-fallthrough -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -rdynamic glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o -o glslc/glslc glslc/libglslc.a libshaderc_util/libshaderc_util.a libshaderc/libshaderc.a libshaderc_util/libshaderc_util.a -lSPIRV-Tools-opt -lSPIRV-Tools -lglslang -lOSDependent -lOGLCompiler -lglslang -lOSDependent -lOGLCompiler...