yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

cheneym2Support SPIR-V deferred linking option (#6500)063468449

master
975 B45 linesraw
1#ifndef SLANG_GLSLANG_COMPILER_UTIL_H
2#define SLANG_GLSLANG_COMPILER_UTIL_H
3
4#include "../core/slang-platform.h"
5#include "slang-downstream-compiler-util.h"
6
7namespace Slang
8{
9
10struct GlslangDownstreamCompilerUtil
11{
12    static SlangResult locateCompilers(
13        const String& path,
14        ISlangSharedLibraryLoader* loader,
15        DownstreamCompilerSet* set);
16};
17
18
19struct SpirvOptDownstreamCompilerUtil
20{
21    static SlangResult locateCompilers(
22        const String& path,
23        ISlangSharedLibraryLoader* loader,
24        DownstreamCompilerSet* set);
25};
26
27struct SpirvDisDownstreamCompilerUtil
28{
29    static SlangResult locateCompilers(
30        const String& path,
31        ISlangSharedLibraryLoader* loader,
32        DownstreamCompilerSet* set);
33};
34
35struct SpirvLinkDownstreamCompilerUtil
36{
37    static SlangResult locateCompilers(
38        const String& path,
39        ISlangSharedLibraryLoader* loader,
40        DownstreamCompilerSet* set);
41};
42
43} // namespace Slang
44
45#endif