This commit is contained in:
Branimir Karadžić 2017-12-22 19:53:27 -08:00
Родитель c38a853651
Коммит 889572cfa0
504 изменённых файлов: 2322 добавлений и 2196 удалений

64
3rdparty/glslang/SPIRV/GlslangToSpv.cpp поставляемый
Просмотреть файл

@ -1762,8 +1762,9 @@ bool TGlslangToSpvTraverser::visitAggregate(glslang::TVisit visit, glslang::TInt
case glslang::EOpMemoryBarrierImage: case glslang::EOpMemoryBarrierImage:
case glslang::EOpMemoryBarrierShared: case glslang::EOpMemoryBarrierShared:
case glslang::EOpGroupMemoryBarrier: case glslang::EOpGroupMemoryBarrier:
case glslang::EOpDeviceMemoryBarrier:
case glslang::EOpAllMemoryBarrierWithGroupSync: case glslang::EOpAllMemoryBarrierWithGroupSync:
case glslang::EOpGroupMemoryBarrierWithGroupSync: case glslang::EOpDeviceMemoryBarrierWithGroupSync:
case glslang::EOpWorkgroupMemoryBarrier: case glslang::EOpWorkgroupMemoryBarrier:
case glslang::EOpWorkgroupMemoryBarrierWithGroupSync: case glslang::EOpWorkgroupMemoryBarrierWithGroupSync:
noReturnValue = true; noReturnValue = true;
@ -5429,40 +5430,65 @@ spv::Id TGlslangToSpvTraverser::createNoArgOperation(glslang::TOperator op, spv:
builder.createNoResultOp(spv::OpEndPrimitive); builder.createNoResultOp(spv::OpEndPrimitive);
return 0; return 0;
case glslang::EOpBarrier: case glslang::EOpBarrier:
builder.createControlBarrier(spv::ScopeWorkgroup, spv::ScopeDevice, spv::MemorySemanticsMaskNone); if (glslangIntermediate->getStage() == EShLangTessControl) {
builder.createControlBarrier(spv::ScopeWorkgroup, spv::ScopeInvocation, spv::MemorySemanticsMaskNone);
// TODO: prefer the following, when available:
// builder.createControlBarrier(spv::ScopePatch, spv::ScopePatch,
// spv::MemorySemanticsPatchMask |
// spv::MemorySemanticsAcquireReleaseMask);
} else {
builder.createControlBarrier(spv::ScopeWorkgroup, spv::ScopeWorkgroup,
spv::MemorySemanticsWorkgroupMemoryMask |
spv::MemorySemanticsAcquireReleaseMask);
}
return 0; return 0;
case glslang::EOpMemoryBarrier: case glslang::EOpMemoryBarrier:
builder.createMemoryBarrier(spv::ScopeDevice, spv::MemorySemanticsAllMemory); builder.createMemoryBarrier(spv::ScopeDevice, spv::MemorySemanticsAllMemory |
spv::MemorySemanticsAcquireReleaseMask);
return 0; return 0;
case glslang::EOpMemoryBarrierAtomicCounter: case glslang::EOpMemoryBarrierAtomicCounter:
builder.createMemoryBarrier(spv::ScopeDevice, spv::MemorySemanticsAtomicCounterMemoryMask); builder.createMemoryBarrier(spv::ScopeDevice, spv::MemorySemanticsAtomicCounterMemoryMask |
spv::MemorySemanticsAcquireReleaseMask);
return 0; return 0;
case glslang::EOpMemoryBarrierBuffer: case glslang::EOpMemoryBarrierBuffer:
builder.createMemoryBarrier(spv::ScopeDevice, spv::MemorySemanticsUniformMemoryMask); builder.createMemoryBarrier(spv::ScopeDevice, spv::MemorySemanticsUniformMemoryMask |
spv::MemorySemanticsAcquireReleaseMask);
return 0; return 0;
case glslang::EOpMemoryBarrierImage: case glslang::EOpMemoryBarrierImage:
builder.createMemoryBarrier(spv::ScopeDevice, spv::MemorySemanticsImageMemoryMask); builder.createMemoryBarrier(spv::ScopeDevice, spv::MemorySemanticsImageMemoryMask |
spv::MemorySemanticsAcquireReleaseMask);
return 0; return 0;
case glslang::EOpMemoryBarrierShared: case glslang::EOpMemoryBarrierShared:
builder.createMemoryBarrier(spv::ScopeDevice, spv::MemorySemanticsWorkgroupMemoryMask); builder.createMemoryBarrier(spv::ScopeDevice, spv::MemorySemanticsWorkgroupMemoryMask |
spv::MemorySemanticsAcquireReleaseMask);
return 0; return 0;
case glslang::EOpGroupMemoryBarrier: case glslang::EOpGroupMemoryBarrier:
builder.createMemoryBarrier(spv::ScopeDevice, spv::MemorySemanticsCrossWorkgroupMemoryMask); builder.createMemoryBarrier(spv::ScopeWorkgroup, spv::MemorySemanticsAllMemory |
spv::MemorySemanticsAcquireReleaseMask);
return 0; return 0;
case glslang::EOpAllMemoryBarrierWithGroupSync: case glslang::EOpAllMemoryBarrierWithGroupSync:
// Control barrier with non-"None" semantic is also a memory barrier. builder.createControlBarrier(spv::ScopeWorkgroup, spv::ScopeDevice,
builder.createControlBarrier(spv::ScopeDevice, spv::ScopeDevice, spv::MemorySemanticsAllMemory); spv::MemorySemanticsAllMemory |
spv::MemorySemanticsAcquireReleaseMask);
return 0; return 0;
case glslang::EOpGroupMemoryBarrierWithGroupSync: case glslang::EOpDeviceMemoryBarrier:
// Control barrier with non-"None" semantic is also a memory barrier. builder.createMemoryBarrier(spv::ScopeDevice, spv::MemorySemanticsUniformMemoryMask |
builder.createControlBarrier(spv::ScopeDevice, spv::ScopeDevice, spv::MemorySemanticsCrossWorkgroupMemoryMask); spv::MemorySemanticsImageMemoryMask |
spv::MemorySemanticsAcquireReleaseMask);
return 0;
case glslang::EOpDeviceMemoryBarrierWithGroupSync:
builder.createControlBarrier(spv::ScopeWorkgroup, spv::ScopeDevice, spv::MemorySemanticsUniformMemoryMask |
spv::MemorySemanticsImageMemoryMask |
spv::MemorySemanticsAcquireReleaseMask);
return 0; return 0;
case glslang::EOpWorkgroupMemoryBarrier: case glslang::EOpWorkgroupMemoryBarrier:
builder.createMemoryBarrier(spv::ScopeWorkgroup, spv::MemorySemanticsWorkgroupMemoryMask); builder.createMemoryBarrier(spv::ScopeWorkgroup, spv::MemorySemanticsWorkgroupMemoryMask |
spv::MemorySemanticsAcquireReleaseMask);
return 0; return 0;
case glslang::EOpWorkgroupMemoryBarrierWithGroupSync: case glslang::EOpWorkgroupMemoryBarrierWithGroupSync:
// Control barrier with non-"None" semantic is also a memory barrier. builder.createControlBarrier(spv::ScopeWorkgroup, spv::ScopeWorkgroup,
builder.createControlBarrier(spv::ScopeWorkgroup, spv::ScopeWorkgroup, spv::MemorySemanticsWorkgroupMemoryMask); spv::MemorySemanticsWorkgroupMemoryMask |
spv::MemorySemanticsAcquireReleaseMask);
return 0; return 0;
#ifdef AMD_EXTENSIONS #ifdef AMD_EXTENSIONS
case glslang::EOpTime: case glslang::EOpTime:
@ -5959,7 +5985,9 @@ void GetSpirvVersion(std::string& version)
// or a different instruction sequence to do something gets used). // or a different instruction sequence to do something gets used).
int GetSpirvGeneratorVersion() int GetSpirvGeneratorVersion()
{ {
return 2; // return 1; // start
// return 2; // EOpAtomicCounterDecrement gets a post decrement, to map between GLSL -> SPIR-V
return 3; // change/correct barrier-instruction operands, to match memory model group decisions
} }
// Write SPIR-V out to a binary file // Write SPIR-V out to a binary file
@ -6058,6 +6086,8 @@ void GlslangToSpv(const glslang::TIntermediate& intermediate, std::vector<unsign
}); });
optimizer.RegisterPass(CreateInlineExhaustivePass()); optimizer.RegisterPass(CreateInlineExhaustivePass());
optimizer.RegisterPass(CreateEliminateDeadFunctionsPass());
optimizer.RegisterPass(CreateScalarReplacementPass());
optimizer.RegisterPass(CreateLocalAccessChainConvertPass()); optimizer.RegisterPass(CreateLocalAccessChainConvertPass());
optimizer.RegisterPass(CreateLocalSingleBlockLoadStoreElimPass()); optimizer.RegisterPass(CreateLocalSingleBlockLoadStoreElimPass());
optimizer.RegisterPass(CreateLocalSingleStoreElimPass()); optimizer.RegisterPass(CreateLocalSingleStoreElimPass());

5
3rdparty/glslang/SPIRV/spvIR.h поставляемый
Просмотреть файл

@ -74,11 +74,8 @@ const Decoration NoPrecision = DecorationMax;
POTENTIALLY_UNUSED POTENTIALLY_UNUSED
const MemorySemanticsMask MemorySemanticsAllMemory = const MemorySemanticsMask MemorySemanticsAllMemory =
(MemorySemanticsMask)(MemorySemanticsSequentiallyConsistentMask | (MemorySemanticsMask)(MemorySemanticsUniformMemoryMask |
MemorySemanticsUniformMemoryMask |
MemorySemanticsSubgroupMemoryMask |
MemorySemanticsWorkgroupMemoryMask | MemorySemanticsWorkgroupMemoryMask |
MemorySemanticsCrossWorkgroupMemoryMask |
MemorySemanticsAtomicCounterMemoryMask | MemorySemanticsAtomicCounterMemoryMask |
MemorySemanticsImageMemoryMask); MemorySemanticsImageMemoryMask);

Просмотреть файл

@ -1,5 +1,5 @@
#version 310 es #version 310 es
layout (location=0) uniform Block { layout (binding=0) uniform Block {
highp int a[]; highp int a[];
} uni; } uni;
layout (location=0) out highp int o; layout (location=0) out highp int o;

8
3rdparty/glslang/Test/450.vert поставляемый
Просмотреть файл

@ -46,3 +46,11 @@ void foo()
allInvocationsEqual(b1); // ERROR, need 4.6 allInvocationsEqual(b1); // ERROR, need 4.6
} }
; // ERROR: no extraneous semicolons ; // ERROR: no extraneous semicolons
layout(location = 0) uniform locBlock { // ERROR, no location uniform block
int a;
};
layout(location = 0) buffer locBuffBlock { // ERROR, no location on buffer block
int b;
};

Просмотреть файл

@ -1,7 +1,7 @@
hlsl.aliasOpaque.frag hlsl.aliasOpaque.frag
WARNING: AST will form illegal SPIR-V; need to transform to legalize WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 87 // Id's are bound by 87
Capability Shader Capability Shader
@ -15,11 +15,9 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
MemberName 9(OS) 0 "ss" MemberName 9(OS) 0 "ss"
MemberName 9(OS) 1 "a" MemberName 9(OS) 1 "a"
MemberName 9(OS) 2 "tex" MemberName 9(OS) 2 "tex"
Name 44 "gss2"
Name 47 "gss" Name 47 "gss"
Name 51 "gtex" Name 51 "gtex"
Name 62 "@entryPointOutput" Name 62 "@entryPointOutput"
Decorate 44(gss2) DescriptorSet 0
Decorate 47(gss) DescriptorSet 0 Decorate 47(gss) DescriptorSet 0
Decorate 51(gtex) DescriptorSet 0 Decorate 51(gtex) DescriptorSet 0
Decorate 62(@entryPointOutput) Location 0 Decorate 62(@entryPointOutput) Location 0
@ -36,7 +34,6 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
36: 7(float) Constant 1050253722 36: 7(float) Constant 1050253722
37: 34(fvec2) ConstantComposite 35 36 37: 34(fvec2) ConstantComposite 35 36
43: TypePointer UniformConstant 6 43: TypePointer UniformConstant 6
44(gss2): 43(ptr) Variable UniformConstant
47(gss): 43(ptr) Variable UniformConstant 47(gss): 43(ptr) Variable UniformConstant
50: TypePointer UniformConstant 8 50: TypePointer UniformConstant 8
51(gtex): 50(ptr) Variable UniformConstant 51(gtex): 50(ptr) Variable UniformConstant

Просмотреть файл

@ -1,7 +1,7 @@
hlsl.flattenOpaque.frag hlsl.flattenOpaque.frag
WARNING: AST will form illegal SPIR-V; need to transform to legalize WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 185 // Id's are bound by 185
Capability Shader Capability Shader

Просмотреть файл

@ -1,7 +1,7 @@
hlsl.flattenOpaqueInit.vert hlsl.flattenOpaqueInit.vert
WARNING: AST will form illegal SPIR-V; need to transform to legalize WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 134 // Id's are bound by 134
Capability Shader Capability Shader

Просмотреть файл

@ -1,7 +1,7 @@
hlsl.flattenOpaqueInitMix.vert hlsl.flattenOpaqueInitMix.vert
WARNING: AST will form illegal SPIR-V; need to transform to legalize WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 80 // Id's are bound by 80
Capability Shader Capability Shader

Просмотреть файл

@ -1,8 +1,8 @@
hlsl.flattenSubset.frag hlsl.flattenSubset.frag
WARNING: AST will form illegal SPIR-V; need to transform to legalize WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 66 // Id's are bound by 72
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"

Просмотреть файл

@ -1,7 +1,7 @@
hlsl.flattenSubset2.frag hlsl.flattenSubset2.frag
WARNING: AST will form illegal SPIR-V; need to transform to legalize WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 53 // Id's are bound by 53
Capability Shader Capability Shader
@ -20,10 +20,8 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
Name 25 "B" Name 25 "B"
MemberName 25(B) 0 "n" MemberName 25(B) 0 "n"
MemberName 25(B) 1 "tex" MemberName 25(B) 1 "tex"
Name 36 "someTex"
Name 49 "vpos" Name 49 "vpos"
Name 52 "@entryPointOutput" Name 52 "@entryPointOutput"
Decorate 36(someTex) DescriptorSet 0
Decorate 49(vpos) Location 0 Decorate 49(vpos) Location 0
Decorate 52(@entryPointOutput) Location 0 Decorate 52(@entryPointOutput) Location 0
2: TypeVoid 2: TypeVoid
@ -34,8 +32,6 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
14(Nested): TypeStruct 6(float) 13 14(Nested): TypeStruct 6(float) 13
15(A): TypeStruct 14(Nested) 6(float) 15(A): TypeStruct 14(Nested) 6(float)
25(B): TypeStruct 14(Nested) 13 25(B): TypeStruct 14(Nested) 13
35: TypePointer UniformConstant 13
36(someTex): 35(ptr) Variable UniformConstant
43: 6(float) Constant 0 43: 6(float) Constant 0
44: 7(fvec4) ConstantComposite 43 43 43 43 44: 7(fvec4) ConstantComposite 43 43 43 43
48: TypePointer Input 7(fvec4) 48: TypePointer Input 7(fvec4)

Просмотреть файл

@ -1,8 +1,8 @@
hlsl.partialFlattenLocal.vert hlsl.partialFlattenLocal.vert
WARNING: AST will form illegal SPIR-V; need to transform to legalize WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 132 // Id's are bound by 165
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
@ -16,10 +16,8 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
MemberName 22(Packed) 2 "uv" MemberName 22(Packed) 2 "uv"
MemberName 22(Packed) 3 "x" MemberName 22(Packed) 3 "x"
MemberName 22(Packed) 4 "n" MemberName 22(Packed) 4 "n"
Name 27 "tex"
Name 83 "pos" Name 83 "pos"
Name 86 "@entryPointOutput" Name 86 "@entryPointOutput"
Decorate 27(tex) DescriptorSet 0
Decorate 83(pos) Location 0 Decorate 83(pos) Location 0
Decorate 86(@entryPointOutput) BuiltIn Position Decorate 86(@entryPointOutput) BuiltIn Position
2: TypeVoid 2: TypeVoid
@ -36,72 +34,59 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
20: TypeArray 18(fvec2) 19 20: TypeArray 18(fvec2) 19
21: TypeInt 32 1 21: TypeInt 32 1
22(Packed): TypeStruct 13 17 20 6(float) 21(int) 22(Packed): TypeStruct 13 17 20 6(float) 21(int)
23: TypePointer Function 22(Packed)
25: 21(int) Constant 0 25: 21(int) Constant 0
26: TypePointer UniformConstant 13
27(tex): 26(ptr) Variable UniformConstant
29: TypePointer Function 13
31: 21(int) Constant 1 31: 21(int) Constant 1
32: 6(float) Constant 0 32: 6(float) Constant 0
33: 14(fvec3) ConstantComposite 32 32 32 33: 14(fvec3) ConstantComposite 32 32 32
34: TypePointer Function 14(fvec3) 34: TypePointer Function 14(fvec3)
36: 21(int) Constant 2
37: 6(float) Constant 1065353216 37: 6(float) Constant 1065353216
38: 18(fvec2) ConstantComposite 32 37 38: 18(fvec2) ConstantComposite 32 37
39: TypePointer Function 18(fvec2) 39: TypePointer Function 18(fvec2)
41: 21(int) Constant 3
42: TypePointer Function 6(float)
44: 21(int) Constant 4
45: TypePointer Function 21(int)
54: TypeBool 54: TypeBool
82: TypePointer Input 7(fvec4) 82: TypePointer Input 7(fvec4)
83(pos): 82(ptr) Variable Input 83(pos): 82(ptr) Variable Input
85: TypePointer Output 7(fvec4) 85: TypePointer Output 7(fvec4)
86(@entryPointOutput): 85(ptr) Variable Output 86(@entryPointOutput): 85(ptr) Variable Output
130: TypePointer Function 17
132: TypePointer Function 20
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
90: 23(ptr) Variable Function 133: 132(ptr) Variable Function
131: 130(ptr) Variable Function
84: 7(fvec4) Load 83(pos) 84: 7(fvec4) Load 83(pos)
94: 13 Load 27(tex) 136: 34(ptr) AccessChain 131 25
95: 29(ptr) AccessChain 90 25 Store 136 33
Store 95 94 137: 39(ptr) AccessChain 133 25
96: 34(ptr) AccessChain 90 31 25 Store 137 38
Store 96 33
97: 39(ptr) AccessChain 90 36 25
Store 97 38
98: 42(ptr) AccessChain 90 41
Store 98 37
99: 45(ptr) AccessChain 90 44
Store 99 41
Branch 100 Branch 100
100: Label 100: Label
131: 21(int) Phi 25 5 119 102 164: 21(int) Phi 25 5 119 102
LoopMerge 101 102 None LoopMerge 101 102 None
Branch 103 Branch 103
103: Label 103: Label
105: 54(bool) SLessThan 131 31 105: 54(bool) SLessThan 164 31
BranchConditional 105 106 101 BranchConditional 105 106 101
106: Label 106: Label
109: 39(ptr) AccessChain 90 36 131 138: 39(ptr) AccessChain 133 164
110: 18(fvec2) Load 109 110: 18(fvec2) Load 138
111: 34(ptr) AccessChain 90 31 131 139: 34(ptr) AccessChain 131 164
112: 14(fvec3) Load 111 112: 14(fvec3) Load 139
113: 18(fvec2) VectorShuffle 112 112 0 1 113: 18(fvec2) VectorShuffle 112 112 0 1
114: 18(fvec2) FAdd 113 110 114: 18(fvec2) FAdd 113 110
115: 34(ptr) AccessChain 90 31 131 140: 34(ptr) AccessChain 131 164
116: 14(fvec3) Load 115 116: 14(fvec3) Load 140
117: 14(fvec3) VectorShuffle 116 114 3 4 2 117: 14(fvec3) VectorShuffle 116 114 3 4 2
Store 115 117 Store 140 117
Branch 102 Branch 102
102: Label 102: Label
119: 21(int) IAdd 131 31 119: 21(int) IAdd 164 31
Branch 100 Branch 100
101: Label 101: Label
120: 22(Packed) Load 90 142: 17 Load 131
130: 14(fvec3) CompositeExtract 120 1 0 161: 14(fvec3) CompositeExtract 142 0
124: 6(float) CompositeExtract 130 0 124: 6(float) CompositeExtract 161 0
125: 6(float) CompositeExtract 130 1 125: 6(float) CompositeExtract 161 1
126: 6(float) CompositeExtract 130 2 126: 6(float) CompositeExtract 161 2
127: 7(fvec4) CompositeConstruct 124 125 126 32 127: 7(fvec4) CompositeConstruct 124 125 126 32
128: 7(fvec4) FAdd 84 127 128: 7(fvec4) FAdd 84 127
Store 86(@entryPointOutput) 128 Store 86(@entryPointOutput) 128

Просмотреть файл

@ -1,8 +1,8 @@
hlsl.partialFlattenMixed.vert hlsl.partialFlattenMixed.vert
WARNING: AST will form illegal SPIR-V; need to transform to legalize WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 36 // Id's are bound by 45
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
@ -14,10 +14,8 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
MemberName 18(Packed) 0 "a" MemberName 18(Packed) 0 "a"
MemberName 18(Packed) 1 "membTex" MemberName 18(Packed) 1 "membTex"
MemberName 18(Packed) 2 "b" MemberName 18(Packed) 2 "b"
Name 23 "tex"
Name 32 "pos" Name 32 "pos"
Name 35 "@entryPointOutput" Name 35 "@entryPointOutput"
Decorate 23(tex) DescriptorSet 0
Decorate 32(pos) Location 0 Decorate 32(pos) Location 0
Decorate 35(@entryPointOutput) BuiltIn Position Decorate 35(@entryPointOutput) BuiltIn Position
2: TypeVoid 2: TypeVoid
@ -30,8 +28,6 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
16: 15(int) Constant 2 16: 15(int) Constant 2
17: TypeArray 14 16 17: TypeArray 14 16
18(Packed): TypeStruct 13(int) 17 13(int) 18(Packed): TypeStruct 13(int) 17 13(int)
22: TypePointer UniformConstant 17
23(tex): 22(ptr) Variable UniformConstant
31: TypePointer Input 7(fvec4) 31: TypePointer Input 7(fvec4)
32(pos): 31(ptr) Variable Input 32(pos): 31(ptr) Variable Input
34: TypePointer Output 7(fvec4) 34: TypePointer Output 7(fvec4)

Просмотреть файл

@ -12,13 +12,13 @@ ERROR: node is still EOpNull!
0:7 'o' (layout( location=0) smooth out highp int) 0:7 'o' (layout( location=0) smooth out highp int)
0:7 direct index (layout( column_major shared) temp highp int) 0:7 direct index (layout( column_major shared) temp highp int)
0:7 a: direct index for structure (layout( column_major shared) uniform implicitly-sized array of highp int) 0:7 a: direct index for structure (layout( column_major shared) uniform implicitly-sized array of highp int)
0:7 'uni' (layout( location=0 column_major shared) uniform block{layout( column_major shared) uniform implicitly-sized array of highp int a}) 0:7 'uni' (layout( binding=0 column_major shared) uniform block{layout( column_major shared) uniform implicitly-sized array of highp int a})
0:7 Constant: 0:7 Constant:
0:7 0 (const int) 0:7 0 (const int)
0:7 Constant: 0:7 Constant:
0:7 2 (const int) 0:7 2 (const int)
0:? Linker Objects 0:? Linker Objects
0:? 'uni' (layout( location=0 column_major shared) uniform block{layout( column_major shared) uniform implicitly-sized array of highp int a}) 0:? 'uni' (layout( binding=0 column_major shared) uniform block{layout( column_major shared) uniform implicitly-sized array of highp int a})
0:? 'o' (layout( location=0) smooth out highp int) 0:? 'o' (layout( location=0) smooth out highp int)
0:? 'gl_VertexID' ( gl_VertexId highp int VertexId) 0:? 'gl_VertexID' ( gl_VertexId highp int VertexId)
0:? 'gl_InstanceID' ( gl_InstanceId highp int InstanceId) 0:? 'gl_InstanceID' ( gl_InstanceId highp int InstanceId)
@ -36,13 +36,13 @@ ERROR: node is still EOpNull!
0:7 'o' (layout( location=0) smooth out highp int) 0:7 'o' (layout( location=0) smooth out highp int)
0:7 direct index (layout( column_major shared) temp highp int) 0:7 direct index (layout( column_major shared) temp highp int)
0:7 a: direct index for structure (layout( column_major shared) uniform 1-element array of highp int) 0:7 a: direct index for structure (layout( column_major shared) uniform 1-element array of highp int)
0:7 'uni' (layout( location=0 column_major shared) uniform block{layout( column_major shared) uniform 1-element array of highp int a}) 0:7 'uni' (layout( binding=0 column_major shared) uniform block{layout( column_major shared) uniform 1-element array of highp int a})
0:7 Constant: 0:7 Constant:
0:7 0 (const int) 0:7 0 (const int)
0:7 Constant: 0:7 Constant:
0:7 2 (const int) 0:7 2 (const int)
0:? Linker Objects 0:? Linker Objects
0:? 'uni' (layout( location=0 column_major shared) uniform block{layout( column_major shared) uniform 1-element array of highp int a}) 0:? 'uni' (layout( binding=0 column_major shared) uniform block{layout( column_major shared) uniform 1-element array of highp int a})
0:? 'o' (layout( location=0) smooth out highp int) 0:? 'o' (layout( location=0) smooth out highp int)
0:? 'gl_VertexID' ( gl_VertexId highp int VertexId) 0:? 'gl_VertexID' ( gl_VertexId highp int VertexId)
0:? 'gl_InstanceID' ( gl_InstanceId highp int InstanceId) 0:? 'gl_InstanceID' ( gl_InstanceId highp int InstanceId)

Просмотреть файл

@ -16,6 +16,7 @@ ERROR: 0:57: 'location on block member' : not supported for this version or the
ERROR: 0:62: 'location on block member' : can only use in an in/out block ERROR: 0:62: 'location on block member' : can only use in an in/out block
ERROR: 0:62: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions ERROR: 0:62: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions
ERROR: 0:60: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions ERROR: 0:60: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions
ERROR: 0:60: 'location' : cannot apply to uniform or buffer block
ERROR: 0:68: 'layout-id value' : cannot be negative ERROR: 0:68: 'layout-id value' : cannot be negative
ERROR: 0:69: 'layout-id value' : cannot be negative ERROR: 0:69: 'layout-id value' : cannot be negative
ERROR: 0:76: 'f2' : cannot use layout qualifiers on structure members ERROR: 0:76: 'f2' : cannot use layout qualifiers on structure members
@ -23,6 +24,7 @@ ERROR: 0:91: 'location on block member' : can only use in an in/out block
ERROR: 0:91: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions ERROR: 0:91: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions
ERROR: 0:91: 'location' : overlapping use of location 3 ERROR: 0:91: 'location' : overlapping use of location 3
ERROR: 0:89: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions ERROR: 0:89: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions
ERROR: 0:89: 'location' : cannot apply to uniform or buffer block
ERROR: 0:94: 'location' : either the block needs a location, or all members need a location, or no members have a location ERROR: 0:94: 'location' : either the block needs a location, or all members need a location, or no members have a location
ERROR: 0:108: 'A' : cannot use layout qualifiers on structure members ERROR: 0:108: 'A' : cannot use layout qualifiers on structure members
ERROR: 0:119: 'location' : overlapping use of location 44 ERROR: 0:119: 'location' : overlapping use of location 44
@ -38,7 +40,7 @@ ERROR: 0:140: 'assign' : cannot convert from ' const float' to ' temp 2-compone
ERROR: 0:141: 'textureQueryLod' : no matching overloaded function found ERROR: 0:141: 'textureQueryLod' : no matching overloaded function found
ERROR: 0:141: 'assign' : cannot convert from ' const float' to ' temp 2-component vector of float' ERROR: 0:141: 'assign' : cannot convert from ' const float' to ' temp 2-component vector of float'
ERROR: 0:152: 'index' : value must be 0 or 1 ERROR: 0:152: 'index' : value must be 0 or 1
ERROR: 39 compilation errors. No code generated. ERROR: 41 compilation errors. No code generated.
Shader version: 330 Shader version: 330

Просмотреть файл

@ -19,7 +19,9 @@ ERROR: 0:44: 'anyInvocation' : no matching overloaded function found
ERROR: 0:45: 'allInvocations' : no matching overloaded function found ERROR: 0:45: 'allInvocations' : no matching overloaded function found
ERROR: 0:46: 'allInvocationsEqual' : no matching overloaded function found ERROR: 0:46: 'allInvocationsEqual' : no matching overloaded function found
ERROR: 0:48: 'extraneous semicolon' : not supported for this version or the enabled extensions ERROR: 0:48: 'extraneous semicolon' : not supported for this version or the enabled extensions
ERROR: 20 compilation errors. No code generated. ERROR: 0:50: 'location' : cannot apply to uniform or buffer block
ERROR: 0:54: 'location' : cannot apply to uniform or buffer block
ERROR: 22 compilation errors. No code generated.
Shader version: 450 Shader version: 450
@ -77,6 +79,8 @@ ERROR: node is still EOpNull!
0:? 'outSS' ( smooth out structure{ global float f, global structure{ global float f} s}) 0:? 'outSS' ( smooth out structure{ global float f, global structure{ global float f} s})
0:? 'aui' (layout( binding=0 offset=0) uniform atomic_uint) 0:? 'aui' (layout( binding=0 offset=0) uniform atomic_uint)
0:? 'ui' ( global uint) 0:? 'ui' ( global uint)
0:? 'anon@1' (layout( location=0 column_major shared) uniform block{layout( column_major shared) uniform int a})
0:? 'anon@2' (layout( location=0 column_major shared) buffer block{layout( column_major shared) buffer int b})
0:? 'gl_VertexID' ( gl_VertexId int VertexId) 0:? 'gl_VertexID' ( gl_VertexId int VertexId)
0:? 'gl_InstanceID' ( gl_InstanceId int InstanceId) 0:? 'gl_InstanceID' ( gl_InstanceId int InstanceId)
@ -112,6 +116,8 @@ ERROR: node is still EOpNull!
0:? 'outSS' ( smooth out structure{ global float f, global structure{ global float f} s}) 0:? 'outSS' ( smooth out structure{ global float f, global structure{ global float f} s})
0:? 'aui' (layout( binding=0 offset=0) uniform atomic_uint) 0:? 'aui' (layout( binding=0 offset=0) uniform atomic_uint)
0:? 'ui' ( global uint) 0:? 'ui' ( global uint)
0:? 'anon@1' (layout( location=0 column_major shared) uniform block{layout( column_major shared) uniform int a})
0:? 'anon@2' (layout( location=0 column_major shared) buffer block{layout( column_major shared) buffer int b})
0:? 'gl_VertexID' ( gl_VertexId int VertexId) 0:? 'gl_VertexID' ( gl_VertexId int VertexId)
0:? 'gl_InstanceID' ( gl_InstanceId int InstanceId) 0:? 'gl_InstanceID' ( gl_InstanceId int InstanceId)

Просмотреть файл

@ -2,7 +2,7 @@ glsl.entryPointRename.vert
ERROR: Source entry point must be "main" ERROR: Source entry point must be "main"
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 20 // Id's are bound by 20
Capability Shader Capability Shader

Просмотреть файл

@ -1,6 +1,6 @@
glsl.entryPointRename.vert glsl.entryPointRename.vert
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 20 // Id's are bound by 20
Capability Shader Capability Shader

Просмотреть файл

@ -2,7 +2,7 @@ glspv.version.frag
ERROR: #version: compilation for SPIR-V does not support the compatibility profile ERROR: #version: compilation for SPIR-V does not support the compatibility profile
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 6 // Id's are bound by 6
Capability Shader Capability Shader

Просмотреть файл

@ -70,7 +70,7 @@ output primitive = line_strip
0:? 'OutputStream.ps' ( out float PointSize) 0:? 'OutputStream.ps' ( out float PointSize)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 36 // Id's are bound by 36
Capability Geometry Capability Geometry

Просмотреть файл

@ -38,7 +38,7 @@ Shader version: 500
0:? '@entryPointOutput' ( out float PointSize) 0:? '@entryPointOutput' ( out float PointSize)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 16 // Id's are bound by 16
Capability Shader Capability Shader

Просмотреть файл

@ -143,7 +143,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 64 // Id's are bound by 64
Capability Shader Capability Shader

Просмотреть файл

@ -160,7 +160,7 @@ gl_FragCoord origin is upper left
0:? 'm' ( global 4-component vector of float) 0:? 'm' ( global 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 57 // Id's are bound by 57
Capability Shader Capability Shader

Просмотреть файл

@ -345,7 +345,7 @@ gl_FragCoord origin is upper left
0:? 'ps_output.color' (layout( location=0) out 4-component vector of float) 0:? 'ps_output.color' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 143 // Id's are bound by 143
Capability Shader Capability Shader

Просмотреть файл

@ -290,7 +290,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=1) in 3-element array of 4-component vector of float) 0:? 'input' (layout( location=1) in 3-element array of 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 126 // Id's are bound by 126
Capability Shader Capability Shader

Просмотреть файл

@ -163,7 +163,7 @@ gl_FragCoord origin is upper left
0:? 'g_mystruct' ( global 2-element array of structure{ temp int i, temp float f}) 0:? 'g_mystruct' ( global 2-element array of structure{ temp int i, temp float f})
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 72 // Id's are bound by 72
Capability Shader Capability Shader

Просмотреть файл

@ -134,7 +134,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 57 // Id's are bound by 57
Capability Shader Capability Shader

Просмотреть файл

@ -132,7 +132,7 @@ gl_FragCoord origin is upper left
0:? 'a5' (layout( location=4) in 4-component vector of float) 0:? 'a5' (layout( location=4) in 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 58 // Id's are bound by 58
Capability Shader Capability Shader

Просмотреть файл

@ -82,7 +82,7 @@ local_size = (4, 6, 8)
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 39 // Id's are bound by 39
Capability Shader Capability Shader

Просмотреть файл

@ -50,7 +50,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=0) in 4-component vector of float) 0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 24 // Id's are bound by 24
Capability Shader Capability Shader

Просмотреть файл

@ -88,7 +88,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=8) in 4-component vector of float) 0:? 'input' (layout( location=8) in 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 47 // Id's are bound by 47
Capability Shader Capability Shader

Просмотреть файл

@ -56,7 +56,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 28 // Id's are bound by 28
Capability Shader Capability Shader

Просмотреть файл

@ -60,7 +60,7 @@ local_size = (1, 1, 1)
0:? 'gti' ( in int LocalInvocationID) 0:? 'gti' ( in int LocalInvocationID)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 35 // Id's are bound by 35
Capability Shader Capability Shader

Просмотреть файл

@ -188,7 +188,7 @@ output primitive = line_strip
0:? 'OutputStream.something' (layout( location=1) out int) 0:? 'OutputStream.something' (layout( location=1) out int)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 68 // Id's are bound by 68
Capability Geometry Capability Geometry

Просмотреть файл

@ -16,84 +16,74 @@ Shader version: 500
0:4 0 (const int) 0:4 0 (const int)
0:6 add second child into first child ( temp int) 0:6 add second child into first child ( temp int)
0:6 'r' ( temp int) 0:6 'r' ( temp int)
0:6 Convert bool to int ( temp int) 0:6 add ( temp int)
0:6 add ( temp bool) 0:6 Convert bool to int ( temp int)
0:6 Convert bool to int ( temp int) 0:6 'a' ( global bool)
0:6 'a' ( global bool) 0:6 Convert bool to int ( temp int)
0:6 Convert bool to int ( temp int) 0:6 'b' ( global bool)
0:6 'b' ( global bool)
0:7 add second child into first child ( temp int) 0:7 add second child into first child ( temp int)
0:7 'r' ( temp int) 0:7 'r' ( temp int)
0:7 Convert bool to int ( temp int) 0:7 subtract ( temp int)
0:7 subtract ( temp bool) 0:7 Convert bool to int ( temp int)
0:7 Convert bool to int ( temp int) 0:7 'a' ( global bool)
0:7 'a' ( global bool) 0:7 Convert bool to int ( temp int)
0:7 Convert bool to int ( temp int) 0:7 'b' ( global bool)
0:7 'b' ( global bool)
0:8 add second child into first child ( temp int) 0:8 add second child into first child ( temp int)
0:8 'r' ( temp int) 0:8 'r' ( temp int)
0:8 Convert bool to int ( temp int) 0:8 component-wise multiply ( temp int)
0:8 component-wise multiply ( temp bool) 0:8 Convert bool to int ( temp int)
0:8 Convert bool to int ( temp int) 0:8 'a' ( global bool)
0:8 'a' ( global bool) 0:8 Convert bool to int ( temp int)
0:8 Convert bool to int ( temp int) 0:8 'b' ( global bool)
0:8 'b' ( global bool)
0:9 add second child into first child ( temp int) 0:9 add second child into first child ( temp int)
0:9 'r' ( temp int) 0:9 'r' ( temp int)
0:9 Convert bool to int ( temp int) 0:9 divide ( temp int)
0:9 divide ( temp bool) 0:9 Convert bool to int ( temp int)
0:9 Convert bool to int ( temp int) 0:9 'a' ( global bool)
0:9 'a' ( global bool) 0:9 Convert bool to int ( temp int)
0:9 Convert bool to int ( temp int) 0:9 'b' ( global bool)
0:9 'b' ( global bool)
0:10 add second child into first child ( temp int) 0:10 add second child into first child ( temp int)
0:10 'r' ( temp int) 0:10 'r' ( temp int)
0:10 Convert bool to int ( temp int) 0:10 mod ( temp int)
0:10 mod ( temp bool) 0:10 Convert bool to int ( temp int)
0:10 Convert bool to int ( temp int) 0:10 'a' ( global bool)
0:10 'a' ( global bool) 0:10 Convert bool to int ( temp int)
0:10 Convert bool to int ( temp int) 0:10 'b' ( global bool)
0:10 'b' ( global bool)
0:12 add second child into first child ( temp int) 0:12 add second child into first child ( temp int)
0:12 'r' ( temp int) 0:12 'r' ( temp int)
0:12 Convert bool to int ( temp int) 0:12 bitwise and ( temp int)
0:12 bitwise and ( temp bool) 0:12 Convert bool to int ( temp int)
0:12 Convert bool to int ( temp int) 0:12 'a' ( global bool)
0:12 'a' ( global bool) 0:12 Convert bool to int ( temp int)
0:12 Convert bool to int ( temp int) 0:12 'b' ( global bool)
0:12 'b' ( global bool)
0:13 add second child into first child ( temp int) 0:13 add second child into first child ( temp int)
0:13 'r' ( temp int) 0:13 'r' ( temp int)
0:13 Convert bool to int ( temp int) 0:13 inclusive-or ( temp int)
0:13 inclusive-or ( temp bool) 0:13 Convert bool to int ( temp int)
0:13 Convert bool to int ( temp int) 0:13 'a' ( global bool)
0:13 'a' ( global bool) 0:13 Convert bool to int ( temp int)
0:13 Convert bool to int ( temp int) 0:13 'b' ( global bool)
0:13 'b' ( global bool)
0:14 add second child into first child ( temp int) 0:14 add second child into first child ( temp int)
0:14 'r' ( temp int) 0:14 'r' ( temp int)
0:14 Convert bool to int ( temp int) 0:14 exclusive-or ( temp int)
0:14 exclusive-or ( temp bool) 0:14 Convert bool to int ( temp int)
0:14 Convert bool to int ( temp int) 0:14 'a' ( global bool)
0:14 'a' ( global bool) 0:14 Convert bool to int ( temp int)
0:14 Convert bool to int ( temp int) 0:14 'b' ( global bool)
0:14 'b' ( global bool)
0:16 add second child into first child ( temp int) 0:16 add second child into first child ( temp int)
0:16 'r' ( temp int) 0:16 'r' ( temp int)
0:16 Convert bool to int ( temp int) 0:16 left-shift ( temp int)
0:16 left-shift ( temp bool) 0:16 Convert bool to int ( temp int)
0:16 Convert bool to int ( temp int) 0:16 'a' ( global bool)
0:16 'a' ( global bool) 0:16 Convert bool to int ( temp int)
0:16 Convert bool to int ( temp int) 0:16 'b' ( global bool)
0:16 'b' ( global bool)
0:17 add second child into first child ( temp int) 0:17 add second child into first child ( temp int)
0:17 'r' ( temp int) 0:17 'r' ( temp int)
0:17 Convert bool to int ( temp int) 0:17 right-shift ( temp int)
0:17 right-shift ( temp bool) 0:17 Convert bool to int ( temp int)
0:17 Convert bool to int ( temp int) 0:17 'a' ( global bool)
0:17 'a' ( global bool) 0:17 Convert bool to int ( temp int)
0:17 Convert bool to int ( temp int) 0:17 'b' ( global bool)
0:17 'b' ( global bool)
0:19 Branch: Return with expression 0:19 Branch: Return with expression
0:19 Construct vec4 ( temp 4-component vector of float) 0:19 Construct vec4 ( temp 4-component vector of float)
0:19 Convert int to float ( temp float) 0:19 Convert int to float ( temp float)
@ -130,84 +120,74 @@ Shader version: 500
0:4 0 (const int) 0:4 0 (const int)
0:6 add second child into first child ( temp int) 0:6 add second child into first child ( temp int)
0:6 'r' ( temp int) 0:6 'r' ( temp int)
0:6 Convert bool to int ( temp int) 0:6 add ( temp int)
0:6 add ( temp bool) 0:6 Convert bool to int ( temp int)
0:6 Convert bool to int ( temp int) 0:6 'a' ( global bool)
0:6 'a' ( global bool) 0:6 Convert bool to int ( temp int)
0:6 Convert bool to int ( temp int) 0:6 'b' ( global bool)
0:6 'b' ( global bool)
0:7 add second child into first child ( temp int) 0:7 add second child into first child ( temp int)
0:7 'r' ( temp int) 0:7 'r' ( temp int)
0:7 Convert bool to int ( temp int) 0:7 subtract ( temp int)
0:7 subtract ( temp bool) 0:7 Convert bool to int ( temp int)
0:7 Convert bool to int ( temp int) 0:7 'a' ( global bool)
0:7 'a' ( global bool) 0:7 Convert bool to int ( temp int)
0:7 Convert bool to int ( temp int) 0:7 'b' ( global bool)
0:7 'b' ( global bool)
0:8 add second child into first child ( temp int) 0:8 add second child into first child ( temp int)
0:8 'r' ( temp int) 0:8 'r' ( temp int)
0:8 Convert bool to int ( temp int) 0:8 component-wise multiply ( temp int)
0:8 component-wise multiply ( temp bool) 0:8 Convert bool to int ( temp int)
0:8 Convert bool to int ( temp int) 0:8 'a' ( global bool)
0:8 'a' ( global bool) 0:8 Convert bool to int ( temp int)
0:8 Convert bool to int ( temp int) 0:8 'b' ( global bool)
0:8 'b' ( global bool)
0:9 add second child into first child ( temp int) 0:9 add second child into first child ( temp int)
0:9 'r' ( temp int) 0:9 'r' ( temp int)
0:9 Convert bool to int ( temp int) 0:9 divide ( temp int)
0:9 divide ( temp bool) 0:9 Convert bool to int ( temp int)
0:9 Convert bool to int ( temp int) 0:9 'a' ( global bool)
0:9 'a' ( global bool) 0:9 Convert bool to int ( temp int)
0:9 Convert bool to int ( temp int) 0:9 'b' ( global bool)
0:9 'b' ( global bool)
0:10 add second child into first child ( temp int) 0:10 add second child into first child ( temp int)
0:10 'r' ( temp int) 0:10 'r' ( temp int)
0:10 Convert bool to int ( temp int) 0:10 mod ( temp int)
0:10 mod ( temp bool) 0:10 Convert bool to int ( temp int)
0:10 Convert bool to int ( temp int) 0:10 'a' ( global bool)
0:10 'a' ( global bool) 0:10 Convert bool to int ( temp int)
0:10 Convert bool to int ( temp int) 0:10 'b' ( global bool)
0:10 'b' ( global bool)
0:12 add second child into first child ( temp int) 0:12 add second child into first child ( temp int)
0:12 'r' ( temp int) 0:12 'r' ( temp int)
0:12 Convert bool to int ( temp int) 0:12 bitwise and ( temp int)
0:12 bitwise and ( temp bool) 0:12 Convert bool to int ( temp int)
0:12 Convert bool to int ( temp int) 0:12 'a' ( global bool)
0:12 'a' ( global bool) 0:12 Convert bool to int ( temp int)
0:12 Convert bool to int ( temp int) 0:12 'b' ( global bool)
0:12 'b' ( global bool)
0:13 add second child into first child ( temp int) 0:13 add second child into first child ( temp int)
0:13 'r' ( temp int) 0:13 'r' ( temp int)
0:13 Convert bool to int ( temp int) 0:13 inclusive-or ( temp int)
0:13 inclusive-or ( temp bool) 0:13 Convert bool to int ( temp int)
0:13 Convert bool to int ( temp int) 0:13 'a' ( global bool)
0:13 'a' ( global bool) 0:13 Convert bool to int ( temp int)
0:13 Convert bool to int ( temp int) 0:13 'b' ( global bool)
0:13 'b' ( global bool)
0:14 add second child into first child ( temp int) 0:14 add second child into first child ( temp int)
0:14 'r' ( temp int) 0:14 'r' ( temp int)
0:14 Convert bool to int ( temp int) 0:14 exclusive-or ( temp int)
0:14 exclusive-or ( temp bool) 0:14 Convert bool to int ( temp int)
0:14 Convert bool to int ( temp int) 0:14 'a' ( global bool)
0:14 'a' ( global bool) 0:14 Convert bool to int ( temp int)
0:14 Convert bool to int ( temp int) 0:14 'b' ( global bool)
0:14 'b' ( global bool)
0:16 add second child into first child ( temp int) 0:16 add second child into first child ( temp int)
0:16 'r' ( temp int) 0:16 'r' ( temp int)
0:16 Convert bool to int ( temp int) 0:16 left-shift ( temp int)
0:16 left-shift ( temp bool) 0:16 Convert bool to int ( temp int)
0:16 Convert bool to int ( temp int) 0:16 'a' ( global bool)
0:16 'a' ( global bool) 0:16 Convert bool to int ( temp int)
0:16 Convert bool to int ( temp int) 0:16 'b' ( global bool)
0:16 'b' ( global bool)
0:17 add second child into first child ( temp int) 0:17 add second child into first child ( temp int)
0:17 'r' ( temp int) 0:17 'r' ( temp int)
0:17 Convert bool to int ( temp int) 0:17 right-shift ( temp int)
0:17 right-shift ( temp bool) 0:17 Convert bool to int ( temp int)
0:17 Convert bool to int ( temp int) 0:17 'a' ( global bool)
0:17 'a' ( global bool) 0:17 Convert bool to int ( temp int)
0:17 Convert bool to int ( temp int) 0:17 'b' ( global bool)
0:17 'b' ( global bool)
0:19 Branch: Return with expression 0:19 Branch: Return with expression
0:19 Construct vec4 ( temp 4-component vector of float) 0:19 Construct vec4 ( temp 4-component vector of float)
0:19 Convert int to float ( temp float) 0:19 Convert int to float ( temp float)
@ -224,21 +204,21 @@ Shader version: 500
0:? '@entryPointOutput' ( out 4-component vector of float Position) 0:? '@entryPointOutput' ( out 4-component vector of float Position)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 109 // Id's are bound by 99
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 107 EntryPoint Vertex 4 "main" 97
Source HLSL 500 Source HLSL 500
Name 4 "main" Name 4 "main"
Name 9 "@main(" Name 9 "@main("
Name 13 "b" Name 13 "b"
Name 17 "r" Name 17 "r"
Name 19 "a" Name 19 "a"
Name 107 "@entryPointOutput" Name 97 "@entryPointOutput"
Decorate 107(@entryPointOutput) BuiltIn Position Decorate 97(@entryPointOutput) BuiltIn Position
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
@ -253,13 +233,13 @@ Shader version: 500
18: 15(int) Constant 0 18: 15(int) Constant 0
19(a): 12(ptr) Variable Private 19(a): 12(ptr) Variable Private
21: 15(int) Constant 1 21: 15(int) Constant 1
106: TypePointer Output 7(fvec4) 96: TypePointer Output 7(fvec4)
107(@entryPointOutput): 106(ptr) Variable Output 97(@entryPointOutput): 96(ptr) Variable Output
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
Store 13(b) 14 Store 13(b) 14
108: 7(fvec4) FunctionCall 9(@main() 98: 7(fvec4) FunctionCall 9(@main()
Store 107(@entryPointOutput) 108 Store 97(@entryPointOutput) 98
Return Return
FunctionEnd FunctionEnd
9(@main(): 7(fvec4) Function None 8 9(@main(): 7(fvec4) Function None 8
@ -270,62 +250,63 @@ Shader version: 500
22: 15(int) Select 20 21 18 22: 15(int) Select 20 21 18
23: 11(bool) Load 13(b) 23: 11(bool) Load 13(b)
24: 15(int) Select 23 21 18 24: 15(int) Select 23 21 18
25: 11(bool) IAdd 22 24 25: 15(int) IAdd 22 24
26: 15(int) Select 25 21 18 26: 15(int) Load 17(r)
27: 15(int) Load 17(r) 27: 15(int) IAdd 26 25
28: 15(int) IAdd 27 26 Store 17(r) 27
Store 17(r) 28 28: 11(bool) Load 19(a)
29: 11(bool) Load 19(a) 29: 15(int) Select 28 21 18
30: 15(int) Select 29 21 18 30: 11(bool) Load 13(b)
31: 11(bool) Load 13(b) 31: 15(int) Select 30 21 18
32: 15(int) Select 31 21 18 32: 15(int) ISub 29 31
33: 11(bool) ISub 30 32 33: 15(int) Load 17(r)
34: 15(int) Select 33 21 18 34: 15(int) IAdd 33 32
35: 15(int) Load 17(r) Store 17(r) 34
36: 15(int) IAdd 35 34 35: 11(bool) Load 19(a)
Store 17(r) 36 36: 15(int) Select 35 21 18
37: 11(bool) Load 19(a) 37: 11(bool) Load 13(b)
38: 15(int) Select 37 21 18 38: 15(int) Select 37 21 18
39: 11(bool) Load 13(b) 39: 15(int) IMul 36 38
40: 15(int) Select 39 21 18 40: 15(int) Load 17(r)
41: 11(bool) IMul 38 40 41: 15(int) IAdd 40 39
42: 15(int) Select 41 21 18 Store 17(r) 41
43: 15(int) Load 17(r) 42: 11(bool) Load 19(a)
44: 15(int) IAdd 43 42 43: 15(int) Select 42 21 18
Store 17(r) 44 44: 11(bool) Load 13(b)
45: 11(bool) Load 19(a) 45: 15(int) Select 44 21 18
46: 15(int) Select 45 21 18 46: 15(int) SDiv 43 45
47: 11(bool) Load 13(b) 47: 15(int) Load 17(r)
48: 15(int) Select 47 21 18 48: 15(int) IAdd 47 46
49: 11(bool) SDiv 46 48 Store 17(r) 48
49: 11(bool) Load 19(a)
50: 15(int) Select 49 21 18 50: 15(int) Select 49 21 18
51: 15(int) Load 17(r) 51: 11(bool) Load 13(b)
52: 15(int) IAdd 51 50 52: 15(int) Select 51 21 18
Store 17(r) 52 53: 15(int) SMod 50 52
53: 11(bool) Load 19(a) 54: 15(int) Load 17(r)
54: 15(int) Select 53 21 18 55: 15(int) IAdd 54 53
55: 11(bool) Load 13(b) Store 17(r) 55
56: 15(int) Select 55 21 18 56: 11(bool) Load 19(a)
57: 11(bool) SMod 54 56 57: 15(int) Select 56 21 18
58: 15(int) Select 57 21 18 58: 11(bool) Load 13(b)
59: 15(int) Load 17(r) 59: 15(int) Select 58 21 18
60: 15(int) IAdd 59 58 60: 15(int) BitwiseAnd 57 59
Store 17(r) 60 61: 15(int) Load 17(r)
61: 11(bool) Load 19(a) 62: 15(int) IAdd 61 60
62: 15(int) Select 61 21 18 Store 17(r) 62
63: 11(bool) Load 13(b) 63: 11(bool) Load 19(a)
64: 15(int) Select 63 21 18 64: 15(int) Select 63 21 18
65: 11(bool) BitwiseAnd 62 64 65: 11(bool) Load 13(b)
66: 15(int) Select 65 21 18 66: 15(int) Select 65 21 18
67: 15(int) Load 17(r) 67: 15(int) BitwiseOr 64 66
68: 15(int) IAdd 67 66 68: 15(int) Load 17(r)
Store 17(r) 68 69: 15(int) IAdd 68 67
69: 11(bool) Load 19(a) Store 17(r) 69
70: 15(int) Select 69 21 18 70: 11(bool) Load 19(a)
71: 11(bool) Load 13(b) 71: 15(int) Select 70 21 18
72: 15(int) Select 71 21 18 72: 11(bool) Load 13(b)
73: 11(bool) BitwiseOr 70 72 73: 15(int) Select 72 21 18
74: 15(int) Select 73 21 18 74: 15(int) BitwiseXor 71 73
75: 15(int) Load 17(r) 75: 15(int) Load 17(r)
76: 15(int) IAdd 75 74 76: 15(int) IAdd 75 74
Store 17(r) 76 Store 17(r) 76
@ -333,31 +314,20 @@ Shader version: 500
78: 15(int) Select 77 21 18 78: 15(int) Select 77 21 18
79: 11(bool) Load 13(b) 79: 11(bool) Load 13(b)
80: 15(int) Select 79 21 18 80: 15(int) Select 79 21 18
81: 11(bool) BitwiseXor 78 80 81: 15(int) ShiftLeftLogical 78 80
82: 15(int) Select 81 21 18 82: 15(int) Load 17(r)
83: 15(int) Load 17(r) 83: 15(int) IAdd 82 81
84: 15(int) IAdd 83 82 Store 17(r) 83
Store 17(r) 84 84: 11(bool) Load 19(a)
85: 11(bool) Load 19(a) 85: 15(int) Select 84 21 18
86: 15(int) Select 85 21 18 86: 11(bool) Load 13(b)
87: 11(bool) Load 13(b) 87: 15(int) Select 86 21 18
88: 15(int) Select 87 21 18 88: 15(int) ShiftRightArithmetic 85 87
89: 11(bool) ShiftLeftLogical 86 88 89: 15(int) Load 17(r)
90: 15(int) Select 89 21 18 90: 15(int) IAdd 89 88
Store 17(r) 90
91: 15(int) Load 17(r) 91: 15(int) Load 17(r)
92: 15(int) IAdd 91 90 92: 6(float) ConvertSToF 91
Store 17(r) 92 93: 7(fvec4) CompositeConstruct 92 92 92 92
93: 11(bool) Load 19(a) ReturnValue 93
94: 15(int) Select 93 21 18
95: 11(bool) Load 13(b)
96: 15(int) Select 95 21 18
97: 11(bool) ShiftRightArithmetic 94 96
98: 15(int) Select 97 21 18
99: 15(int) Load 17(r)
100: 15(int) IAdd 99 98
Store 17(r) 100
101: 15(int) Load 17(r)
102: 6(float) ConvertSToF 101
103: 7(fvec4) CompositeConstruct 102 102 102 102
ReturnValue 103
FunctionEnd FunctionEnd

Просмотреть файл

@ -114,7 +114,7 @@ gl_FragCoord origin is upper left
0:? 'input' ( in 4-component vector of float FragCoord) 0:? 'input' ( in 4-component vector of float FragCoord)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 61 // Id's are bound by 61
Capability Shader Capability Shader

Просмотреть файл

@ -356,7 +356,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 148 // Id's are bound by 148
Capability Shader Capability Shader

Просмотреть файл

@ -72,7 +72,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=0) in 4-component vector of float) 0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 39 // Id's are bound by 39
Capability Shader Capability Shader

Просмотреть файл

@ -250,7 +250,7 @@ Shader version: 500
0:? 'input.Norm' (layout( location=1) in 3-component vector of float) 0:? 'input.Norm' (layout( location=1) in 3-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 106 // Id's are bound by 106
Capability Shader Capability Shader

Просмотреть файл

@ -146,7 +146,7 @@ Shader version: 500
0:? '@entryPointOutput' ( out 4-component vector of float Position) 0:? '@entryPointOutput' ( out 4-component vector of float Position)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 58 // Id's are bound by 58
Capability Shader Capability Shader

Просмотреть файл

@ -74,7 +74,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 30 // Id's are bound by 30
Capability Shader Capability Shader

Просмотреть файл

@ -98,7 +98,7 @@ gl_FragCoord origin is upper left
0:? 'cull' ( in 1-element array of float CullDistance) 0:? 'cull' ( in 1-element array of float CullDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 53 // Id's are bound by 53
Capability Shader Capability Shader

Просмотреть файл

@ -550,7 +550,7 @@ output primitive = line_strip
0:? 'OutputStream.clip' ( out 2-element array of float ClipDistance) 0:? 'OutputStream.clip' ( out 2-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 118 // Id's are bound by 118
Capability Geometry Capability Geometry

Просмотреть файл

@ -108,7 +108,7 @@ Shader version: 500
0:? 'cull' ( out 1-element array of float CullDistance) 0:? 'cull' ( out 1-element array of float CullDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 46 // Id's are bound by 46
Capability Shader Capability Shader

Просмотреть файл

@ -290,7 +290,7 @@ gl_FragCoord origin is upper left
0:? 'cull' ( in 4-element array of float CullDistance) 0:? 'cull' ( in 4-element array of float CullDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 84 // Id's are bound by 84
Capability Shader Capability Shader

Просмотреть файл

@ -724,7 +724,7 @@ output primitive = line_strip
0:? 'OutputStream.clip' ( out 4-element array of float ClipDistance) 0:? 'OutputStream.clip' ( out 4-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 128 // Id's are bound by 128
Capability Geometry Capability Geometry

Просмотреть файл

@ -420,7 +420,7 @@ Shader version: 500
0:? 'cull' ( out 4-element array of float CullDistance) 0:? 'cull' ( out 4-element array of float CullDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 89 // Id's are bound by 89
Capability Shader Capability Shader

Просмотреть файл

@ -98,7 +98,7 @@ gl_FragCoord origin is upper left
0:? 'cull' ( in 2-element array of float CullDistance) 0:? 'cull' ( in 2-element array of float CullDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 53 // Id's are bound by 53
Capability Shader Capability Shader

Просмотреть файл

@ -630,7 +630,7 @@ output primitive = line_strip
0:? 'OutputStream.clip1' ( out 4-element array of float ClipDistance) 0:? 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 127 // Id's are bound by 127
Capability Geometry Capability Geometry

Просмотреть файл

@ -136,7 +136,7 @@ Shader version: 500
0:? 'cull' ( out 2-element array of float CullDistance) 0:? 'cull' ( out 2-element array of float CullDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 51 // Id's are bound by 51
Capability Shader Capability Shader

Просмотреть файл

@ -174,7 +174,7 @@ gl_FragCoord origin is upper left
0:? 'v.ClipRect' ( in 4-element array of float ClipDistance) 0:? 'v.ClipRect' ( in 4-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 57 // Id's are bound by 57
Capability Shader Capability Shader

Просмотреть файл

@ -612,7 +612,7 @@ output primitive = line_strip
0:? 'OutputStream.clip1' ( out 4-element array of float ClipDistance) 0:? 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 130 // Id's are bound by 130
Capability Geometry Capability Geometry

Просмотреть файл

@ -270,7 +270,7 @@ Shader version: 500
0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance) 0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 72 // Id's are bound by 72
Capability Shader Capability Shader

Просмотреть файл

@ -232,7 +232,7 @@ gl_FragCoord origin is upper left
0:? 'v.ClipRect' ( in 4-element array of float ClipDistance) 0:? 'v.ClipRect' ( in 4-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 62 // Id's are bound by 62
Capability Shader Capability Shader

Просмотреть файл

@ -318,7 +318,7 @@ Shader version: 500
0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance) 0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 73 // Id's are bound by 73
Capability Shader Capability Shader

Просмотреть файл

@ -282,7 +282,7 @@ gl_FragCoord origin is upper left
0:? 'v.clip1' ( in 8-element array of float ClipDistance) 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 79 // Id's are bound by 79
Capability Shader Capability Shader

Просмотреть файл

@ -428,7 +428,7 @@ Shader version: 500
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance) 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 86 // Id's are bound by 86
Capability Shader Capability Shader

Просмотреть файл

@ -270,7 +270,7 @@ gl_FragCoord origin is upper left
0:? 'v.clip1' ( in 8-element array of float ClipDistance) 0:? 'v.clip1' ( in 8-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 78 // Id's are bound by 78
Capability Shader Capability Shader

Просмотреть файл

@ -384,7 +384,7 @@ Shader version: 500
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance) 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 81 // Id's are bound by 81
Capability Shader Capability Shader

Просмотреть файл

@ -186,7 +186,7 @@ gl_FragCoord origin is upper left
0:? 'v.clip1' ( in 4-element array of float ClipDistance) 0:? 'v.clip1' ( in 4-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 65 // Id's are bound by 65
Capability Shader Capability Shader

Просмотреть файл

@ -240,7 +240,7 @@ Shader version: 500
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance) 0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 62 // Id's are bound by 62
Capability Shader Capability Shader

Просмотреть файл

@ -144,7 +144,7 @@ gl_FragCoord origin is upper left
0:? 'clip0' ( in 4-element array of float ClipDistance) 0:? 'clip0' ( in 4-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 68 // Id's are bound by 68
Capability Shader Capability Shader

Просмотреть файл

@ -194,7 +194,7 @@ Shader version: 500
0:? 'clip0' ( out 4-element array of float ClipDistance) 0:? 'clip0' ( out 4-element array of float ClipDistance)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 67 // Id's are bound by 67
Capability Shader Capability Shader

Просмотреть файл

@ -356,13 +356,13 @@ triangle order = cw
0:? '@patchConstantOutput.inside' ( patch out 2-element array of float TessLevelInner) 0:? '@patchConstantOutput.inside' ( patch out 2-element array of float TessLevelInner)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 128 // Id's are bound by 127
Capability Tessellation Capability Tessellation
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint TessellationControl 4 "main" 72 76 79 83 111 124 EntryPoint TessellationControl 4 "main" 72 76 79 83 110 123
ExecutionMode 4 OutputVertices 3 ExecutionMode 4 OutputVertices 3
ExecutionMode 4 Triangles ExecutionMode 4 Triangles
ExecutionMode 4 SpacingEqual ExecutionMode 4 SpacingEqual
@ -404,8 +404,8 @@ triangle order = cw
Name 102 "@patchConstantResult" Name 102 "@patchConstantResult"
Name 103 "param" Name 103 "param"
Name 105 "param" Name 105 "param"
Name 111 "@patchConstantOutput.edges" Name 110 "@patchConstantOutput.edges"
Name 124 "@patchConstantOutput.inside" Name 123 "@patchConstantOutput.inside"
MemberDecorate 33(TessellationBuffer) 0 Offset 0 MemberDecorate 33(TessellationBuffer) 0 Offset 0
MemberDecorate 33(TessellationBuffer) 1 Offset 4 MemberDecorate 33(TessellationBuffer) 1 Offset 4
Decorate 33(TessellationBuffer) Block Decorate 33(TessellationBuffer) Block
@ -415,10 +415,10 @@ triangle order = cw
Decorate 76(pointId) BuiltIn InvocationId Decorate 76(pointId) BuiltIn InvocationId
Decorate 79(patchId) BuiltIn PrimitiveId Decorate 79(patchId) BuiltIn PrimitiveId
Decorate 83(@entryPointOutput) Location 0 Decorate 83(@entryPointOutput) Location 0
Decorate 111(@patchConstantOutput.edges) Patch Decorate 110(@patchConstantOutput.edges) Patch
Decorate 111(@patchConstantOutput.edges) BuiltIn TessLevelOuter Decorate 110(@patchConstantOutput.edges) BuiltIn TessLevelOuter
Decorate 124(@patchConstantOutput.inside) Patch Decorate 123(@patchConstantOutput.inside) Patch
Decorate 124(@patchConstantOutput.inside) BuiltIn TessLevelInner Decorate 123(@patchConstantOutput.inside) BuiltIn TessLevelInner
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
@ -458,17 +458,16 @@ triangle order = cw
83(@entryPointOutput): 82(ptr) Variable Output 83(@entryPointOutput): 82(ptr) Variable Output
92: TypePointer Output 22(HullOutputType) 92: TypePointer Output 22(HullOutputType)
94: 10(int) Constant 2 94: 10(int) Constant 2
95: 10(int) Constant 1 95: 10(int) Constant 4
96: 10(int) Constant 0 96: 10(int) Constant 0
98: TypeBool 98: TypeBool
108: 10(int) Constant 4 108: TypeArray 6(float) 95
109: TypeArray 6(float) 108 109: TypePointer Output 108
110: TypePointer Output 109 110(@patchConstantOutput.edges): 109(ptr) Variable Output
111(@patchConstantOutput.edges): 110(ptr) Variable Output 113: TypePointer Output 6(float)
114: TypePointer Output 6(float) 121: TypeArray 6(float) 94
122: TypeArray 6(float) 94 122: TypePointer Output 121
123: TypePointer Output 122 123(@patchConstantOutput.inside): 122(ptr) Variable Output
124(@patchConstantOutput.inside): 123(ptr) Variable Output
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
70(patch): 13(ptr) Variable Function 70(patch): 13(ptr) Variable Function
@ -508,22 +507,22 @@ triangle order = cw
Store 105(param) 106 Store 105(param) 106
107:16(ConstantOutputType) FunctionCall 20(ColorPatchConstantFunction(struct-HullInputType-vf3-vf41[3];u1;) 103(param) 105(param) 107:16(ConstantOutputType) FunctionCall 20(ColorPatchConstantFunction(struct-HullInputType-vf3-vf41[3];u1;) 103(param) 105(param)
Store 102(@patchConstantResult) 107 Store 102(@patchConstantResult) 107
112: 39(ptr) AccessChain 102(@patchConstantResult) 32 32 111: 39(ptr) AccessChain 102(@patchConstantResult) 32 32
113: 6(float) Load 112 112: 6(float) Load 111
115: 114(ptr) AccessChain 111(@patchConstantOutput.edges) 32 114: 113(ptr) AccessChain 110(@patchConstantOutput.edges) 32
Store 115 113 Store 114 112
116: 39(ptr) AccessChain 102(@patchConstantResult) 32 41 115: 39(ptr) AccessChain 102(@patchConstantResult) 32 41
117: 6(float) Load 116 116: 6(float) Load 115
118: 114(ptr) AccessChain 111(@patchConstantOutput.edges) 41 117: 113(ptr) AccessChain 110(@patchConstantOutput.edges) 41
Store 118 117 Store 117 116
119: 39(ptr) AccessChain 102(@patchConstantResult) 32 45 118: 39(ptr) AccessChain 102(@patchConstantResult) 32 45
120: 6(float) Load 119 119: 6(float) Load 118
121: 114(ptr) AccessChain 111(@patchConstantOutput.edges) 45 120: 113(ptr) AccessChain 110(@patchConstantOutput.edges) 45
Store 121 120 Store 120 119
125: 39(ptr) AccessChain 102(@patchConstantResult) 41 124: 39(ptr) AccessChain 102(@patchConstantResult) 41
126: 6(float) Load 125 125: 6(float) Load 124
127: 114(ptr) AccessChain 124(@patchConstantOutput.inside) 32 126: 113(ptr) AccessChain 123(@patchConstantOutput.inside) 32
Store 127 126 Store 126 125
Branch 101 Branch 101
101: Label 101: Label
Return Return

Просмотреть файл

@ -262,7 +262,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 96 // Id's are bound by 96
Capability Shader Capability Shader

Просмотреть файл

@ -522,7 +522,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=0) in 4-component vector of float) 0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 220 // Id's are bound by 220
Capability Shader Capability Shader

Просмотреть файл

@ -132,7 +132,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 66 // Id's are bound by 66
Capability Shader Capability Shader

Просмотреть файл

@ -268,7 +268,7 @@ Shader version: 500
0:? '@entryPointOutput' ( out 4-component vector of float Position) 0:? '@entryPointOutput' ( out 4-component vector of float Position)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 89 // Id's are bound by 89
Capability Shader Capability Shader

Просмотреть файл

@ -104,7 +104,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 40 // Id's are bound by 40
Capability Shader Capability Shader

Просмотреть файл

@ -544,7 +544,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out int) 0:? '@entryPointOutput' (layout( location=0) out int)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 98 // Id's are bound by 98
Capability Shader Capability Shader

Просмотреть файл

@ -1,6 +1,6 @@
hlsl.dashI.vert hlsl.dashI.vert
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 40 // Id's are bound by 40
Capability Shader Capability Shader

Просмотреть файл

@ -1,6 +1,6 @@
hlsl.deadFunctionMissingBody.vert hlsl.deadFunctionMissingBody.vert
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 18 // Id's are bound by 18
Capability Shader Capability Shader

Просмотреть файл

@ -50,7 +50,7 @@ using depth_greater
0:? 'depth' ( out float FragDepth) 0:? 'depth' ( out float FragDepth)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 20 // Id's are bound by 20
Capability Shader Capability Shader

Просмотреть файл

@ -42,7 +42,7 @@ using depth_less
0:? '@entryPointOutput' ( out float FragDepth) 0:? '@entryPointOutput' ( out float FragDepth)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 16 // Id's are bound by 16
Capability Shader Capability Shader

Просмотреть файл

@ -108,7 +108,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=0) in 4-component vector of float) 0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 50 // Id's are bound by 50
Capability Shader Capability Shader

Просмотреть файл

@ -144,7 +144,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=0) in float) 0:? 'input' (layout( location=0) in float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 71 // Id's are bound by 71
Capability Shader Capability Shader

Просмотреть файл

@ -286,7 +286,7 @@ triangle order = none
0:? 'pcf_data.flInsideTessFactor' ( patch in 2-element array of float TessLevelInner) 0:? 'pcf_data.flInsideTessFactor' ( patch in 2-element array of float TessLevelInner)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 103 // Id's are bound by 103
Capability Tessellation Capability Tessellation

Просмотреть файл

@ -284,7 +284,7 @@ triangle order = none
0:? 'pcf_data.foo' (layout( location=2) patch in float) 0:? 'pcf_data.foo' (layout( location=2) patch in float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 98 // Id's are bound by 98
Capability Tessellation Capability Tessellation

Просмотреть файл

@ -264,7 +264,7 @@ triangle order = none
0:? 'pcf_data.flInsideTessFactor' ( patch in 2-element array of float TessLevelInner) 0:? 'pcf_data.flInsideTessFactor' ( patch in 2-element array of float TessLevelInner)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 100 // Id's are bound by 100
Capability Tessellation Capability Tessellation

Просмотреть файл

@ -60,7 +60,7 @@ Shader version: 500
0:? 'vertexIndex' (layout( location=0) in uint) 0:? 'vertexIndex' (layout( location=0) in uint)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 29 // Id's are bound by 29
Capability Shader Capability Shader

Просмотреть файл

@ -50,7 +50,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 27 // Id's are bound by 27
Capability Shader Capability Shader

Просмотреть файл

@ -48,7 +48,7 @@ Shader version: 500
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 27 // Id's are bound by 27
Capability Shader Capability Shader

Просмотреть файл

@ -166,7 +166,7 @@ gl_FragCoord origin is upper left
0:? 'i.i2' (layout( location=1) flat in 2-component vector of int) 0:? 'i.i2' (layout( location=1) flat in 2-component vector of int)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 74 // Id's are bound by 74
Capability Shader Capability Shader

Просмотреть файл

@ -244,7 +244,7 @@ gl_FragCoord origin is upper left
0:? 'out3.i' (layout( location=5) out 2-component vector of int) 0:? 'out3.i' (layout( location=5) out 2-component vector of int)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 89 // Id's are bound by 89
Capability Shader Capability Shader

Просмотреть файл

@ -72,7 +72,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 32 // Id's are bound by 32
Capability Shader Capability Shader

Просмотреть файл

@ -1,6 +1,6 @@
hlsl.explicitDescriptorSet.frag hlsl.explicitDescriptorSet.frag
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 31 // Id's are bound by 31
Capability Shader Capability Shader

Просмотреть файл

@ -1,6 +1,6 @@
hlsl.explicitDescriptorSet.frag hlsl.explicitDescriptorSet.frag
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 31 // Id's are bound by 31
Capability Shader Capability Shader

Просмотреть файл

@ -118,7 +118,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.other_struct_member3' (layout( location=3) out float) 0:? '@entryPointOutput.other_struct_member3' (layout( location=3) out float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 49 // Id's are bound by 49
Capability Shader Capability Shader

Просмотреть файл

@ -295,7 +295,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 122 // Id's are bound by 122
Capability Shader Capability Shader

Просмотреть файл

@ -165,7 +165,7 @@ Shader version: 500
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 82 // Id's are bound by 82
Capability Shader Capability Shader

Просмотреть файл

@ -107,7 +107,7 @@ Shader version: 500
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 59 // Id's are bound by 59
Capability Shader Capability Shader

Просмотреть файл

@ -115,7 +115,7 @@ gl_FragCoord origin is upper left
0:? 'vpos' (layout( location=0) in 4-component vector of float) 0:? 'vpos' (layout( location=0) in 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 54 // Id's are bound by 54
Capability Shader Capability Shader

Просмотреть файл

@ -149,7 +149,7 @@ gl_FragCoord origin is upper left
0:? 'vpos' (layout( location=0) in 4-component vector of float) 0:? 'vpos' (layout( location=0) in 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 56 // Id's are bound by 56
Capability Shader Capability Shader

Просмотреть файл

@ -65,7 +65,7 @@ gl_FragCoord origin is upper left
0:? 'scalar' ( global float) 0:? 'scalar' ( global float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 27 // Id's are bound by 27
Capability Shader Capability Shader

Просмотреть файл

@ -42,7 +42,7 @@ gl_FragCoord origin is upper left
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor, uniform bool ff1, layout( offset=20) uniform float ff2, layout( binding=0 offset=32) uniform 4-component vector of float ff3, layout( binding=1 offset=48) uniform 4-component vector of float ff4}) 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor, uniform bool ff1, layout( offset=20) uniform float ff2, layout( binding=0 offset=32) uniform 4-component vector of float ff3, layout( binding=1 offset=48) uniform 4-component vector of float ff4})
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 26 // Id's are bound by 26
Capability Shader Capability Shader

Просмотреть файл

@ -402,7 +402,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=0) in 4-component vector of float) 0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 183 // Id's are bound by 183
Capability Shader Capability Shader

Просмотреть файл

@ -64,7 +64,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 25 // Id's are bound by 25
Capability Shader Capability Shader

Просмотреть файл

@ -260,7 +260,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 124 // Id's are bound by 124
Capability Shader Capability Shader

Просмотреть файл

@ -256,7 +256,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 135 // Id's are bound by 135
Capability Shader Capability Shader

Просмотреть файл

@ -220,7 +220,7 @@ Shader version: 500
0:? '@entryPointOutput.Pos' ( out 4-component vector of float Position) 0:? '@entryPointOutput.Pos' ( out 4-component vector of float Position)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 126 // Id's are bound by 126
Capability Shader Capability Shader

Просмотреть файл

@ -206,7 +206,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80003
// Id's are bound by 114 // Id's are bound by 114
Capability Shader Capability Shader

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше