yum-mirror/slang

Making it easier to work with shaders

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

Yong HeUse direct spirv in hello-world example. (#3207)8bcffcc08

master
688 B27 linesraw
1result code = 0
2standard error = {
3}
4standard output = {
5; SPIR-V
6; Version: 1.5
7; Generator: Khronos; 0
8; Bound: 5
9; Schema: 0
10               OpCapability Shader
11               OpMemoryModel Logical GLSL450
12               OpEntryPoint GLCompute %computeMain "main"
13               OpExecutionMode %computeMain LocalSize 4 1 1
14
15               ; Debug Information
16               OpName %computeMain "computeMain"  ; id %2
17
18               ; Types, variables and constants
19       %void = OpTypeVoid
20          %3 = OpTypeFunction %void
21
22               ; Function computeMain
23%computeMain = OpFunction %void None %3
24          %4 = OpLabel
25               OpReturn
26               OpFunctionEnd
27}