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
9fb31ce8
Commit
9fb31ce8
authored
Mar 24, 2017
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: strengthen the value of test for NV members.
parent
0e737844
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
41 deletions
+46
-41
spv.450.geom.out
Test/baseResults/spv.450.geom.out
+44
-31
spv.450.geom
Test/spv.450.geom
+1
-9
revision.h
glslang/Include/revision.h
+1
-1
No files found.
Test/baseResults/spv.450.geom.out
View file @
9fb31ce8
...
@@ -3,52 +3,65 @@ Warning, version 450 is not yet complete; most version-specific features are pre
...
@@ -3,52 +3,65 @@ Warning, version 450 is not yet complete; most version-specific features are pre
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
// Id's are bound by 2
4
// Id's are bound by 2
6
Capability Geometry
Capability Geometry
Capability GeometryPointSize
Capability GeometryPointSize
1: ExtInstImport "GLSL.std.450"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
MemoryModel Logical GLSL450
EntryPoint Geometry 4 "main" 1
4 23
EntryPoint Geometry 4 "main" 1
3 20
ExecutionMode 4 Triangles
ExecutionMode 4 Triangles
ExecutionMode 4 Invocations 4
ExecutionMode 4 Invocations 4
ExecutionMode 4 OutputLineStrip
ExecutionMode 4 OutputLineStrip
ExecutionMode 4 OutputVertices 127
ExecutionMode 4 OutputVertices 127
Source GLSL 450
Source GLSL 450
Name 4 "main"
Name 4 "main"
Name 8 "p"
Name 11 "gl_PerVertex"
Name 9 "gl_PerVertex"
MemberName 11(gl_PerVertex) 0 "gl_Position"
MemberName 9(gl_PerVertex) 0 "gl_PointSize"
MemberName 11(gl_PerVertex) 1 "gl_PointSize"
Name 14 "gl_in"
MemberName 11(gl_PerVertex) 2 "gl_ClipDistance"
Name 21 "gl_PerVertex"
MemberName 11(gl_PerVertex) 3 "gl_CullDistance"
MemberName 21(gl_PerVertex) 0 "gl_PointSize"
Name 13 ""
Name 23 ""
Name 16 "gl_PerVertex"
MemberDecorate 9(gl_PerVertex) 0 BuiltIn PointSize
MemberName 16(gl_PerVertex) 0 "gl_Position"
Decorate 9(gl_PerVertex) Block
MemberName 16(gl_PerVertex) 1 "gl_PointSize"
MemberDecorate 21(gl_PerVertex) 0 BuiltIn PointSize
MemberName 16(gl_PerVertex) 2 "gl_ClipDistance"
Decorate 21(gl_PerVertex) Block
MemberName 16(gl_PerVertex) 3 "gl_CullDistance"
Name 20 "gl_in"
MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 11(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 11(gl_PerVertex) Block
MemberDecorate 16(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 16(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 16(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 16(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 16(gl_PerVertex) Block
2: TypeVoid
2: TypeVoid
3: TypeFunction 2
3: TypeFunction 2
6: TypeFloat 32
6: TypeFloat 32
7: TypePointer Function 6(float)
7: TypeVector 6(float) 4
9(gl_PerVertex): TypeStruct 6(float)
8: TypeInt 32 0
10: TypeInt 32 0
9: 8(int) Constant 1
11: 10(int) Constant 3
10: TypeArray 6(float) 9
12: TypeArray 9(gl_PerVertex) 11
11(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10 10
13: TypePointer Input 12
12: TypePointer Output 11(gl_PerVertex)
14(gl_in): 13(ptr) Variable Input
13: 12(ptr) Variable Output
15: TypeInt 32 1
14: TypeInt 32 1
16: 15(int) Constant 1
15: 14(int) Constant 1
17: 15(int) Constant 0
16(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10 10
18: TypePointer Input 6(float)
17: 8(int) Constant 3
21(gl_PerVertex): TypeStruct 6(float)
18: TypeArray 16(gl_PerVertex) 17
22: TypePointer Output 21(gl_PerVertex)
19: TypePointer Input 18
23: 22(ptr) Variable Output
20(gl_in): 19(ptr) Variable Input
21: TypePointer Input 6(float)
24: TypePointer Output 6(float)
4(main): 2 Function None 3
4(main): 2 Function None 3
5: Label
5: Label
8(p): 7(ptr) Variable Function
22: 21(ptr) AccessChain 20(gl_in) 15 15
19: 18(ptr) AccessChain 14(gl_in) 16 17
23: 6(float) Load 22
2
0: 6(float) Load 19
2
5: 24(ptr) AccessChain 13 15
Store
8(p) 20
Store
25 23
Return
Return
FunctionEnd
FunctionEnd
Test/spv.450.geom
View file @
9fb31ce8
...
@@ -2,19 +2,11 @@
...
@@ -2,19 +2,11 @@
layout
(
triangles
)
in
;
layout
(
triangles
)
in
;
in
gl_PerVertex
{
float
gl_PointSize
;
}
gl_in
[];
out
gl_PerVertex
{
float
gl_PointSize
;
};
layout
(
line_strip
)
out
;
layout
(
line_strip
)
out
;
layout
(
max_vertices
=
127
)
out
;
layout
(
max_vertices
=
127
)
out
;
layout
(
invocations
=
4
)
in
;
layout
(
invocations
=
4
)
in
;
void
main
()
void
main
()
{
{
float
p
=
gl_in
[
1
].
gl_PointSize
;
gl_PointSize
=
gl_in
[
1
].
gl_PointSize
;
}
}
glslang/Include/revision.h
View file @
9fb31ce8
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.193
3
"
#define GLSLANG_REVISION "Overload400-PrecQual.193
7
"
#define GLSLANG_DATE "24-Mar-2017"
#define GLSLANG_DATE "24-Mar-2017"
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