SPV: Make OpEntryPoint I/O list include all static uses.
Before, it was only including explicit interface, sufficient for IO-Block-declared oriented interface, but not sufficient for all modes GLSL might be used with SPIR-V. Two things are accomplished now: 1) each id will appear exactly once 2) the OpEntryPoint list will union static use with declarations
This commit is contained in:
parent
3ac051e41d
commit
7ba6341a05
@ -85,7 +85,7 @@ public:
|
||||
bool visitLoop(glslang::TVisit, glslang::TIntermLoop*);
|
||||
bool visitBranch(glslang::TVisit visit, glslang::TIntermBranch*);
|
||||
|
||||
void dumpSpv(std::vector<unsigned int>& out) { builder.dump(out); }
|
||||
void dumpSpv(std::vector<unsigned int>& out);
|
||||
|
||||
protected:
|
||||
spv::Id createSpvVariable(const glslang::TIntermSymbol*);
|
||||
@ -133,7 +133,8 @@ protected:
|
||||
spv::Builder builder;
|
||||
bool inMain;
|
||||
bool mainTerminated;
|
||||
bool linkageOnly;
|
||||
bool linkageOnly; // true when visiting the set of objects in the AST present only for establishing interface, whether or not they were statically used
|
||||
std::unordered_set<spv::Id> iOSet; // all input/output variables from either static use or declaration of interface
|
||||
const glslang::TIntermediate* glslangIntermediate;
|
||||
spv::Id stdBuiltins;
|
||||
|
||||
@ -555,6 +556,16 @@ TGlslangToSpvTraverser::TGlslangToSpvTraverser(const glslang::TIntermediate* gls
|
||||
|
||||
}
|
||||
|
||||
// Finish everything and dump
|
||||
void TGlslangToSpvTraverser::dumpSpv(std::vector<unsigned int>& out)
|
||||
{
|
||||
// finish off the entry-point SPV instruction by adding the Input/Output <id>
|
||||
for (auto it : iOSet)
|
||||
entryPoint->addIdOperand(it);
|
||||
|
||||
builder.dump(out);
|
||||
}
|
||||
|
||||
TGlslangToSpvTraverser::~TGlslangToSpvTraverser()
|
||||
{
|
||||
if (! mainTerminated) {
|
||||
@ -584,7 +595,15 @@ void TGlslangToSpvTraverser::visitSymbol(glslang::TIntermSymbol* symbol)
|
||||
// getSymbolId() will set up all the IO decorations on the first call.
|
||||
// Formal function parameters were mapped during makeFunctions().
|
||||
spv::Id id = getSymbolId(symbol);
|
||||
|
||||
|
||||
// Include all "static use" and "linkage only" interface variables on the OpEntryPoint instruction
|
||||
if (builder.isPointer(id)) {
|
||||
spv::StorageClass sc = builder.getStorageClass(id);
|
||||
if (sc == spv::StorageClassInput || sc == spv::StorageClassOutput)
|
||||
iOSet.insert(id);
|
||||
}
|
||||
|
||||
// Only process non-linkage-only nodes for generating actual static uses
|
||||
if (! linkageOnly) {
|
||||
// Prepare to generate code for the access
|
||||
|
||||
@ -601,13 +620,6 @@ void TGlslangToSpvTraverser::visitSymbol(glslang::TIntermSymbol* symbol)
|
||||
builder.setAccessChainRValue(id);
|
||||
else
|
||||
builder.setAccessChainLValue(id);
|
||||
} else {
|
||||
// finish off the entry-point SPV instruction by adding the Input/Output <id>
|
||||
if (builder.isPointer(id)) {
|
||||
spv::StorageClass sc = builder.getStorageClass(id);
|
||||
if (sc == spv::StorageClassInput || sc == spv::StorageClassOutput)
|
||||
entryPoint->addIdOperand(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main"
|
||||
EntryPoint Fragment 4 "main" 36
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source ESSL 100
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 79 17 68 99 184 185 186 187 187 173
|
||||
EntryPoint Fragment 4 "main" 185 17 68 79 187 99 173 184 186
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
SourceExtension "GL_ARB_gpu_shader5"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 43 28 33 33
|
||||
EntryPoint Fragment 4 "main" 16 28 33 43
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 140
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked geometry stage:
|
||||
Capability Geometry
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Geometry 4 "main" 18 70 10 29 33
|
||||
EntryPoint Geometry 4 "main" 18 10 29 49 33 47 51 70
|
||||
ExecutionMode 4 InputTrianglesAdjacency
|
||||
ExecutionMode 4 Invocations 1
|
||||
ExecutionMode 4 OutputTriangleStrip
|
||||
|
||||
@ -10,7 +10,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 17 39 48 49
|
||||
EntryPoint Vertex 4 "main" 13 49 17 39 48
|
||||
Source GLSL 150
|
||||
Name 4 "main"
|
||||
Name 11 "gl_PerVertex"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 25 11 39
|
||||
EntryPoint Vertex 4 "main" 11 39 23 33 25
|
||||
Source ESSL 300
|
||||
Name 4 "main"
|
||||
Name 8 "i"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 29 11 9 26 15
|
||||
EntryPoint Fragment 4 "main" 9 11 15 26 29
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source ESSL 300
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 101 11 121 9 99 109 129 163 164
|
||||
EntryPoint Vertex 4 "main" 129 121 9 99 163 11 109 101 164
|
||||
Source ESSL 300
|
||||
Name 4 "main"
|
||||
Name 9 "pos"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 53 11 73 9 51 61 81 115 116
|
||||
EntryPoint Vertex 4 "main" 81 9 73 51 115 11 61 53 116
|
||||
Source ESSL 300
|
||||
Name 4 "main"
|
||||
Name 9 "pos"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked compute stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint GLCompute 4 "main"
|
||||
EntryPoint GLCompute 4 "main" 53
|
||||
ExecutionMode 4 LocalSize 16 32 4
|
||||
Source ESSL 310
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked geometry stage:
|
||||
Capability Geometry
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Geometry 4 "main" 20 13
|
||||
EntryPoint Geometry 4 "main" 13 20
|
||||
ExecutionMode 4 Triangles
|
||||
ExecutionMode 4 Invocations 1
|
||||
ExecutionMode 4 OutputTriangleStrip
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 50 44 11 96 69 119 56
|
||||
EntryPoint Fragment 4 "main" 11 44 50 96 56 117 69 119
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 400
|
||||
SourceExtension "GL_ARB_separate_shader_objects"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked tessellation control stage:
|
||||
Capability Tessellation
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint TessellationControl 4 "main" 52 79 83 84 87 88 91 92
|
||||
EntryPoint TessellationControl 4 "main" 79 87 23 40 83 43 46 52 66 73 84 88 91 92
|
||||
ExecutionMode 4 OutputVertices 4
|
||||
Source GLSL 400
|
||||
SourceExtension "GL_ARB_separate_shader_objects"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked tessellation evaluation stage:
|
||||
Capability Tessellation
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint TessellationEvaluation 4 "main" 77 68 81 82 86 90 93 94 97
|
||||
EntryPoint TessellationEvaluation 4 "main" 77 61 53 21 38 81 41 47 68 82 86 90 93 94 97
|
||||
ExecutionMode 4 Triangles
|
||||
ExecutionMode 4 SpacingFractionalOdd
|
||||
ExecutionMode 4 VertexOrderCcw
|
||||
|
||||
@ -12,7 +12,7 @@ Linked geometry stage:
|
||||
Capability Geometry
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Geometry 4 "main" 14 23 46
|
||||
EntryPoint Geometry 4 "main" 46 14 23 28 33
|
||||
ExecutionMode 4 Triangles
|
||||
ExecutionMode 4 Invocations 4
|
||||
ExecutionMode 4 OutputLineStrip
|
||||
|
||||
@ -12,7 +12,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 12 23 44 45 34 61 62
|
||||
EntryPoint Vertex 4 "main" 44 12 23 34 61 45 62
|
||||
Source GLSL 430
|
||||
Name 4 "main"
|
||||
Name 10 "gl_PerVertex"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 77 38 43
|
||||
EntryPoint Fragment 4 "main" 38 43 77
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 430
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 21
|
||||
EntryPoint Fragment 4 "main" 21 59
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 110
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 21
|
||||
EntryPoint Fragment 4 "main" 21 38
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 110
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 23 47 48
|
||||
EntryPoint Vertex 4 "main" 47 23 48
|
||||
Source GLSL 450
|
||||
Name 4 "main"
|
||||
Name 10 "foo(b1;"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 17
|
||||
EntryPoint Fragment 4 "main" 17 34
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 400
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 39 446 448 157 53 450 452 454
|
||||
EntryPoint Fragment 4 "main" 448 39 454 446 157 53 322 450 452
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 16
|
||||
EntryPoint Fragment 4 "main" 12 16
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 18
|
||||
EntryPoint Fragment 4 "main" 12 18
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -13,7 +13,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 26 23 37
|
||||
EntryPoint Vertex 4 "main" 23 26 32 37
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
Name 8 "i"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main"
|
||||
EntryPoint Fragment 4 "main" 149
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 330
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 14 10 8 8
|
||||
EntryPoint Fragment 4 "main" 8 10 14
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
ExecutionMode 4 DepthGreater
|
||||
ExecutionMode 4 DepthReplacing
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 21
|
||||
EntryPoint Fragment 4 "main" 21 59
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 110
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 11
|
||||
EntryPoint Fragment 4 "main" 11 38
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 110
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked compute stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint GLCompute 4 "main"
|
||||
EntryPoint GLCompute 4 "main" 26 33
|
||||
ExecutionMode 4 LocalSize 1 1 1
|
||||
Source GLSL 430
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 18 11
|
||||
EntryPoint Fragment 4 "main" 107 11 18
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 110
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 18 11
|
||||
EntryPoint Fragment 4 "main" 11 18 37
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 120
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 11 97
|
||||
EntryPoint Fragment 4 "main" 35 11 97
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 20
|
||||
EntryPoint Fragment 4 "main" 20 30
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source ESSL 100
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 57
|
||||
EntryPoint Fragment 4 "main" 57 68
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main"
|
||||
EntryPoint Fragment 4 "main" 149
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 400
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 47 26 173 67 121 142 100 247 156 146 182 83 15 9 21 268 269
|
||||
EntryPoint Vertex 4 "main" 121 9 47 15 21 26 83 67 100 142 146 156 173 182 247 268 269
|
||||
Source ESSL 310
|
||||
Name 4 "main"
|
||||
Name 9 "iout"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 13 24 33 41 99
|
||||
EntryPoint Fragment 4 "main" 13 24 41 33 99
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 450
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 14
|
||||
EntryPoint Fragment 4 "main" 14 26
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 120
|
||||
Name 4 "main"
|
||||
|
||||
@ -13,7 +13,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 40 96
|
||||
EntryPoint Fragment 4 "main" 96 40 106
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 11
|
||||
EntryPoint Fragment 4 "main" 11 596
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 11
|
||||
EntryPoint Fragment 4 "main" 11 144
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 73 92
|
||||
EntryPoint Vertex 4 "main" 69 73 92
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
Name 14 "xf(mf33;vf3;"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 12 14 28 148 140 166
|
||||
EntryPoint Fragment 4 "main" 148 140 28 12 166 14
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 210 38 211 212 87 65 150 173 139 12 16 37
|
||||
EntryPoint Fragment 4 "main" 12 16 173 37 150 38 65 87 139 210 211 212
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 150
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 29 17 55 26 84 91 81 277 247
|
||||
EntryPoint Fragment 4 "main" 17 81 26 29 55 247 84 91 277
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 430
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 12 55
|
||||
EntryPoint Vertex 4 "main" 28 12 55
|
||||
Source GLSL 120
|
||||
Name 4 "main"
|
||||
Name 9 "a"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 57 59 23 71
|
||||
EntryPoint Fragment 4 "main" 71 23 57 59
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source ESSL 300
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main"
|
||||
EntryPoint Fragment 4 "main" 90
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 140
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 11 9 13 15 17 19 23 24
|
||||
EntryPoint Vertex 4 "main" 17 9 19 11 13 23 15 24
|
||||
Source GLSL 430
|
||||
Name 4 "main"
|
||||
Name 9 "outVc"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 9 25
|
||||
EntryPoint Fragment 4 "main" 25 9
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 450
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 12
|
||||
EntryPoint Fragment 4 "main" 12 16
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 150
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 15 23 34 19 9 40 41
|
||||
EntryPoint Vertex 4 "main" 41 9 23 15 19 34 40
|
||||
Source GLSL 330
|
||||
Name 4 "main"
|
||||
Name 9 "glPos"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 44
|
||||
EntryPoint Fragment 4 "main" 31 44
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 61
|
||||
EntryPoint Fragment 4 "main" 61 99
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 54
|
||||
EntryPoint Fragment 4 "main" 45 54
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 30
|
||||
EntryPoint Fragment 4 "main" 30 69
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 110
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 20 38
|
||||
EntryPoint Fragment 4 "main" 44 20 38
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 400
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 21 11 9 26
|
||||
EntryPoint Vertex 4 "main" 9 11 15 21 26
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
Name 9 "uv"
|
||||
|
||||
@ -13,7 +13,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 290 47
|
||||
EntryPoint Fragment 4 "main" 47 276 290
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked vertex stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 39 144
|
||||
EntryPoint Vertex 4 "main" 39 140 144
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
Name 8 "lod"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 94 104 114 124 134 144 154 164
|
||||
EntryPoint Fragment 4 "main" 134 94 104 168 144 154 114 164 124
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 15 200 77 68
|
||||
EntryPoint Fragment 4 "main" 15 68 77 200
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source ESSL 300
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main"
|
||||
EntryPoint Fragment 4 "main" 47
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 63
|
||||
EntryPoint Fragment 4 "main" 54 63
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -15,7 +15,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 34 39 19 19 48
|
||||
EntryPoint Fragment 4 "main" 19 34 39 45 48
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -15,7 +15,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 45 50 30 30 19
|
||||
EntryPoint Fragment 4 "main" 19 30 45 50 56
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 41
|
||||
EntryPoint Fragment 4 "main" 37 41
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 120
|
||||
Name 4 "main"
|
||||
|
||||
@ -10,7 +10,7 @@ Linked fragment stage:
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 11
|
||||
EntryPoint Fragment 4 "main" 11 32
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 110
|
||||
Name 4 "main"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user