aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/spv.for-notest.vert.out
diff options
context:
space:
mode:
authorJohn Kessenich <johnkslang@users.noreply.github.com>2016-01-19 15:32:07 -0700
committerJohn Kessenich <johnkslang@users.noreply.github.com>2016-01-19 15:32:07 -0700
commit33782795d9c3db2703d2cdbf1637ef320e4028d3 (patch)
tree0721fdb81b203d7fc05e93421ff75cbc6940074a /Test/baseResults/spv.for-notest.vert.out
parent9a0b59c7b6fe2e5f661c0c8703651dde7126441c (diff)
parentf3c63cc35923b06c7a5c5e4be3fa0c728ab5f5e7 (diff)
downloadglslang-33782795d9c3db2703d2cdbf1637ef320e4028d3.tar.gz
Merge pull request #127 from dekimir/loopgen
SPV: Rework loop code generation to match SPIR-V 1.0.
Diffstat (limited to 'Test/baseResults/spv.for-notest.vert.out')
-rw-r--r--Test/baseResults/spv.for-notest.vert.out53
1 files changed, 53 insertions, 0 deletions
diff --git a/Test/baseResults/spv.for-notest.vert.out b/Test/baseResults/spv.for-notest.vert.out
new file mode 100644
index 00000000..0b77cb11
--- /dev/null
+++ b/Test/baseResults/spv.for-notest.vert.out
@@ -0,0 +1,53 @@
+spv.for-notest.vert
+Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
+
+
+Linked vertex stage:
+
+
+// Module Version 10000
+// Generated by (magic number): 80001
+// Id's are bound by 23
+
+ Capability Shader
+ 1: ExtInstImport "GLSL.std.450"
+ MemoryModel Logical GLSL450
+ EntryPoint Vertex 4 "main" 15 21 22
+ Source GLSL 450
+ Name 4 "main"
+ Name 8 "i"
+ Name 15 "r"
+ Name 21 "gl_VertexID"
+ Name 22 "gl_InstanceID"
+ Decorate 15(r) Location 0
+ Decorate 21(gl_VertexID) BuiltIn VertexId
+ Decorate 22(gl_InstanceID) BuiltIn InstanceId
+ 2: TypeVoid
+ 3: TypeFunction 2
+ 6: TypeInt 32 1
+ 7: TypePointer Function 6(int)
+ 9: 6(int) Constant 0
+ 14: TypePointer Output 6(int)
+ 15(r): 14(ptr) Variable Output
+ 18: 6(int) Constant 1
+ 20: TypePointer Input 6(int)
+ 21(gl_VertexID): 20(ptr) Variable Input
+22(gl_InstanceID): 20(ptr) Variable Input
+ 4(main): 2 Function None 3
+ 5: Label
+ 8(i): 7(ptr) Variable Function
+ Store 8(i) 9
+ Branch 10
+ 10: Label
+ LoopMerge 12 13 None
+ Branch 11
+ 11: Label
+ 16: 6(int) Load 8(i)
+ Store 15(r) 16
+ Branch 13
+ 13: Label
+ 17: 6(int) Load 8(i)
+ 19: 6(int) IAdd 17 18
+ Store 8(i) 19
+ Branch 10
+ FunctionEnd