Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
0197ea97
Commit
0197ea97
authored
Dec 20, 2015
by
John Kessenich
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch GitHub 'master' into GitLab master
parents
6e56a47c
7ba6341a
Hide whitespace changes
Inline
Side-by-side
Showing
70 changed files
with
91 additions
and
79 deletions
+91
-79
GlslangToSpv.cpp
SPIRV/GlslangToSpv.cpp
+22
-10
spv.100ops.frag.out
Test/baseResults/spv.100ops.frag.out
+1
-1
spv.130.frag.out
Test/baseResults/spv.130.frag.out
+1
-1
spv.140.frag.out
Test/baseResults/spv.140.frag.out
+1
-1
spv.150.geom.out
Test/baseResults/spv.150.geom.out
+1
-1
spv.150.vert.out
Test/baseResults/spv.150.vert.out
+1
-1
spv.300BuiltIns.vert.out
Test/baseResults/spv.300BuiltIns.vert.out
+1
-1
spv.300layout.frag.out
Test/baseResults/spv.300layout.frag.out
+1
-1
spv.300layout.vert.out
Test/baseResults/spv.300layout.vert.out
+1
-1
spv.300layoutp.vert.out
Test/baseResults/spv.300layoutp.vert.out
+1
-1
spv.310.comp.out
Test/baseResults/spv.310.comp.out
+1
-1
spv.330.geom.out
Test/baseResults/spv.330.geom.out
+1
-1
spv.400.frag.out
Test/baseResults/spv.400.frag.out
+1
-1
spv.400.tesc.out
Test/baseResults/spv.400.tesc.out
+1
-1
spv.400.tese.out
Test/baseResults/spv.400.tese.out
+1
-1
spv.420.geom.out
Test/baseResults/spv.420.geom.out
+1
-1
spv.430.vert.out
Test/baseResults/spv.430.vert.out
+1
-1
spv.AofA.frag.out
Test/baseResults/spv.AofA.frag.out
+1
-1
spv.always-discard.frag.out
Test/baseResults/spv.always-discard.frag.out
+1
-1
spv.always-discard2.frag.out
Test/baseResults/spv.always-discard2.frag.out
+1
-1
spv.bool.vert.out
Test/baseResults/spv.bool.vert.out
+1
-1
spv.conditionalDiscard.frag.out
Test/baseResults/spv.conditionalDiscard.frag.out
+1
-1
spv.conversion.frag.out
Test/baseResults/spv.conversion.frag.out
+1
-1
spv.dataOut.frag.out
Test/baseResults/spv.dataOut.frag.out
+1
-1
spv.dataOutIndirect.frag.out
Test/baseResults/spv.dataOutIndirect.frag.out
+1
-1
spv.dataOutIndirect.vert.out
Test/baseResults/spv.dataOutIndirect.vert.out
+1
-1
spv.deepRvalue.frag.out
Test/baseResults/spv.deepRvalue.frag.out
+1
-1
spv.depthOut.frag.out
Test/baseResults/spv.depthOut.frag.out
+1
-1
spv.discard-dce.frag.out
Test/baseResults/spv.discard-dce.frag.out
+1
-1
spv.doWhileLoop.frag.out
Test/baseResults/spv.doWhileLoop.frag.out
+1
-1
spv.double.comp.out
Test/baseResults/spv.double.comp.out
+1
-1
spv.earlyReturnDiscard.frag.out
Test/baseResults/spv.earlyReturnDiscard.frag.out
+1
-1
spv.flowControl.frag.out
Test/baseResults/spv.flowControl.frag.out
+1
-1
spv.forLoop.frag.out
Test/baseResults/spv.forLoop.frag.out
+1
-1
spv.forwardFun.frag.out
Test/baseResults/spv.forwardFun.frag.out
+1
-1
spv.functionCall.frag.out
Test/baseResults/spv.functionCall.frag.out
+1
-1
spv.functionSemantics.frag.out
Test/baseResults/spv.functionSemantics.frag.out
+1
-1
spv.intOps.vert.out
Test/baseResults/spv.intOps.vert.out
+1
-1
spv.interpOps.frag.out
Test/baseResults/spv.interpOps.frag.out
+1
-1
spv.length.frag.out
Test/baseResults/spv.length.frag.out
+1
-1
spv.localAggregates.frag.out
Test/baseResults/spv.localAggregates.frag.out
+1
-1
spv.loops.frag.out
Test/baseResults/spv.loops.frag.out
+1
-1
spv.loopsArtificial.frag.out
Test/baseResults/spv.loopsArtificial.frag.out
+1
-1
spv.matFun.vert.out
Test/baseResults/spv.matFun.vert.out
+1
-1
spv.matrix.frag.out
Test/baseResults/spv.matrix.frag.out
+1
-1
spv.matrix2.frag.out
Test/baseResults/spv.matrix2.frag.out
+1
-1
spv.newTexture.frag.out
Test/baseResults/spv.newTexture.frag.out
+1
-1
spv.nonSquare.vert.out
Test/baseResults/spv.nonSquare.vert.out
+1
-1
spv.precision.frag.out
Test/baseResults/spv.precision.frag.out
+1
-1
spv.prepost.frag.out
Test/baseResults/spv.prepost.frag.out
+1
-1
spv.qualifiers.vert.out
Test/baseResults/spv.qualifiers.vert.out
+1
-1
spv.shiftOps.frag.out
Test/baseResults/spv.shiftOps.frag.out
+1
-1
spv.simpleFunctionCall.frag.out
Test/baseResults/spv.simpleFunctionCall.frag.out
+1
-1
spv.simpleMat.vert.out
Test/baseResults/spv.simpleMat.vert.out
+1
-1
spv.structAssignment.frag.out
Test/baseResults/spv.structAssignment.frag.out
+1
-1
spv.structDeref.frag.out
Test/baseResults/spv.structDeref.frag.out
+1
-1
spv.structure.frag.out
Test/baseResults/spv.structure.frag.out
+1
-1
spv.swizzle.frag.out
Test/baseResults/spv.swizzle.frag.out
+1
-1
spv.test.frag.out
Test/baseResults/spv.test.frag.out
+1
-1
spv.test.vert.out
Test/baseResults/spv.test.vert.out
+1
-1
spv.texture.frag.out
Test/baseResults/spv.texture.frag.out
+1
-1
spv.texture.vert.out
Test/baseResults/spv.texture.vert.out
+1
-1
spv.types.frag.out
Test/baseResults/spv.types.frag.out
+1
-1
spv.uint.frag.out
Test/baseResults/spv.uint.frag.out
+1
-1
spv.uniformArray.frag.out
Test/baseResults/spv.uniformArray.frag.out
+1
-1
spv.variableArrayIndex.frag.out
Test/baseResults/spv.variableArrayIndex.frag.out
+1
-1
spv.varyingArray.frag.out
Test/baseResults/spv.varyingArray.frag.out
+1
-1
spv.varyingArrayIndirect.frag.out
Test/baseResults/spv.varyingArrayIndirect.frag.out
+1
-1
spv.voidFunction.frag.out
Test/baseResults/spv.voidFunction.frag.out
+1
-1
spv.whileLoop.frag.out
Test/baseResults/spv.whileLoop.frag.out
+1
-1
No files found.
SPIRV/GlslangToSpv.cpp
View file @
0197ea97
...
...
@@ -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
);
}
}
}
...
...
Test/baseResults/spv.100ops.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.130.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.140.frag.out
View file @
0197ea97
...
...
@@ -10,7 +10,7 @@ Linked fragment stage:
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
43 28 33 3
3
EntryPoint Fragment 4 "main"
16 28 33 4
3
ExecutionMode 4 OriginLowerLeft
Source GLSL 140
Name 4 "main"
...
...
Test/baseResults/spv.150.geom.out
View file @
0197ea97
...
...
@@ -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
...
...
Test/baseResults/spv.150.vert.out
View file @
0197ea97
...
...
@@ -10,7 +10,7 @@ Linked vertex stage:
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 1
7 39 48 49
EntryPoint Vertex 4 "main" 1
3 49 17 39 48
Source GLSL 150
Name 4 "main"
Name 11 "gl_PerVertex"
...
...
Test/baseResults/spv.300BuiltIns.vert.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.300layout.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.300layout.vert.out
View file @
0197ea97
...
...
@@ -10,7 +10,7 @@ Linked vertex stage:
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 1
01 11 121 9 99 109 129 163
164
EntryPoint Vertex 4 "main" 1
29 121 9 99 163 11 109 101
164
Source ESSL 300
Name 4 "main"
Name 9 "pos"
...
...
Test/baseResults/spv.300layoutp.vert.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.310.comp.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.330.geom.out
View file @
0197ea97
...
...
@@ -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
...
...
Test/baseResults/spv.400.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.400.tesc.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.400.tese.out
View file @
0197ea97
...
...
@@ -12,7 +12,7 @@ Linked tessellation evaluation stage:
Capability Tessellation
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationEvaluation 4 "main" 77 6
8 81
82 86 90 93 94 97
EntryPoint TessellationEvaluation 4 "main" 77 6
1 53 21 38 81 41 47 68
82 86 90 93 94 97
ExecutionMode 4 Triangles
ExecutionMode 4 SpacingFractionalOdd
ExecutionMode 4 VertexOrderCcw
...
...
Test/baseResults/spv.420.geom.out
View file @
0197ea97
...
...
@@ -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
...
...
Test/baseResults/spv.430.vert.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.AofA.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.always-discard.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.always-discard2.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.bool.vert.out
View file @
0197ea97
...
...
@@ -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;"
...
...
Test/baseResults/spv.conditionalDiscard.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.conversion.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.dataOut.frag.out
View file @
0197ea97
...
...
@@ -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" 1
2 1
6
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Name 4 "main"
...
...
Test/baseResults/spv.dataOutIndirect.frag.out
View file @
0197ea97
...
...
@@ -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" 1
2 1
8
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Name 4 "main"
...
...
Test/baseResults/spv.dataOutIndirect.vert.out
View file @
0197ea97
...
...
@@ -13,7 +13,7 @@ Linked vertex stage:
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 2
6 23
37
EntryPoint Vertex 4 "main" 2
3 26 32
37
Source GLSL 130
Name 4 "main"
Name 8 "i"
...
...
Test/baseResults/spv.deepRvalue.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.depthOut.frag.out
View file @
0197ea97
...
...
@@ -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
...
...
Test/baseResults/spv.discard-dce.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.doWhileLoop.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.double.comp.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.earlyReturnDiscard.frag.out
View file @
0197ea97
...
...
@@ -10,7 +10,7 @@ Linked fragment stage:
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 1
8 11
EntryPoint Fragment 4 "main" 1
07 11 18
ExecutionMode 4 OriginLowerLeft
Source GLSL 110
Name 4 "main"
...
...
Test/baseResults/spv.flowControl.frag.out
View file @
0197ea97
...
...
@@ -10,7 +10,7 @@ Linked fragment stage:
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 1
8 11
EntryPoint Fragment 4 "main" 1
1 18 37
ExecutionMode 4 OriginLowerLeft
Source GLSL 120
Name 4 "main"
...
...
Test/baseResults/spv.forLoop.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.forwardFun.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.functionCall.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.functionSemantics.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.intOps.vert.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.interpOps.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.length.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.localAggregates.frag.out
View file @
0197ea97
...
...
@@ -13,7 +13,7 @@ Linked fragment stage:
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
40 9
6
EntryPoint Fragment 4 "main"
96 40 10
6
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Name 4 "main"
...
...
Test/baseResults/spv.loops.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.loopsArtificial.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.matFun.vert.out
View file @
0197ea97
...
...
@@ -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;"
...
...
Test/baseResults/spv.matrix.frag.out
View file @
0197ea97
...
...
@@ -10,7 +10,7 @@ Linked fragment stage:
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 1
2 14 28 148 140 166
EntryPoint Fragment 4 "main" 1
48 140 28 12 166 14
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Name 4 "main"
...
...
Test/baseResults/spv.matrix2.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.newTexture.frag.out
View file @
0197ea97
...
...
@@ -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 24
7
EntryPoint Fragment 4 "main"
17 81 26 29 55 247 84 91 27
7
ExecutionMode 4 OriginLowerLeft
Source GLSL 430
Name 4 "main"
...
...
Test/baseResults/spv.nonSquare.vert.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.precision.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.prepost.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.qualifiers.vert.out
View file @
0197ea97
...
...
@@ -12,7 +12,7 @@ Linked vertex stage:
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 1
1 9 13 15 17 19 23
24
EntryPoint Vertex 4 "main" 1
7 9 19 11 13 23 15
24
Source GLSL 430
Name 4 "main"
Name 9 "outVc"
...
...
Test/baseResults/spv.shiftOps.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.simpleFunctionCall.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.simpleMat.vert.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.structAssignment.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.structDeref.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.structure.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.swizzle.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.test.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.test.vert.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.texture.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.texture.vert.out
View file @
0197ea97
...
...
@@ -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 14
0 14
4
Source GLSL 130
Name 4 "main"
Name 8 "lod"
...
...
Test/baseResults/spv.types.frag.out
View file @
0197ea97
...
...
@@ -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 16
4
EntryPoint Fragment 4 "main"
134 94 104 168 144 154 114 164 12
4
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Name 4 "main"
...
...
Test/baseResults/spv.uint.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.uniformArray.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.variableArrayIndex.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.varyingArray.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.varyingArrayIndirect.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.voidFunction.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Test/baseResults/spv.whileLoop.frag.out
View file @
0197ea97
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment