Guest User

Untitled

a guest
Jan 14th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.48 KB | None | 0 0
  1. // Module Version 10000
  2. // Generated by (magic number): 80003
  3. // Id's are bound by 132
  4.  
  5. Capability Shader
  6. 1: ExtInstImport "GLSL.std.450"
  7. MemoryModel Logical GLSL450
  8. EntryPoint Vertex 4 "main" 85 89 92 95 98 106 110 114 117 120 123 126 129
  9. Source HLSL 500
  10. Name 4 "main"
  11. Name 9 "VSInput"
  12. MemberName 9(VSInput) 0 "position"
  13. MemberName 9(VSInput) 1 "texcoord0"
  14. MemberName 9(VSInput) 2 "normal"
  15. MemberName 9(VSInput) 3 "tangent"
  16. MemberName 9(VSInput) 4 "bitangent"
  17. Name 12 "VSOutput"
  18. MemberName 12(VSOutput) 0 "position"
  19. MemberName 12(VSOutput) 1 "worldPos"
  20. MemberName 12(VSOutput) 2 "texCoord"
  21. MemberName 12(VSOutput) 3 "viewDir"
  22. MemberName 12(VSOutput) 4 "shadowCoord"
  23. MemberName 12(VSOutput) 5 "normal"
  24. MemberName 12(VSOutput) 6 "tangent"
  25. MemberName 12(VSOutput) 7 "bitangent"
  26. Name 15 "@main(struct-VSInput-vf3-vf2-vf3-vf3-vf31;"
  27. Name 14 "vsInput"
  28. Name 18 "vsOutput"
  29. Name 30 "VSConstants"
  30. MemberName 30(VSConstants) 0 "modelToProjection"
  31. MemberName 30(VSConstants) 1 "modelToShadow"
  32. MemberName 30(VSConstants) 2 "ViewerPos"
  33. Name 32 ""
  34. Name 83 "vsInput"
  35. Name 85 "vsInput.position"
  36. Name 89 "vsInput.texcoord0"
  37. Name 92 "vsInput.normal"
  38. Name 95 "vsInput.tangent"
  39. Name 98 "vsInput.bitangent"
  40. Name 101 "flattenTemp"
  41. Name 102 "param"
  42. Name 106 "@entryPointOutput.position"
  43. Name 110 "@entryPointOutput.worldPos"
  44. Name 114 "@entryPointOutput.texCoord"
  45. Name 117 "@entryPointOutput.viewDir"
  46. Name 120 "@entryPointOutput.shadowCoord"
  47. Name 123 "@entryPointOutput.normal"
  48. Name 126 "@entryPointOutput.tangent"
  49. Name 129 "@entryPointOutput.bitangent"
  50. MemberDecorate 30(VSConstants) 0 RowMajor
  51. MemberDecorate 30(VSConstants) 0 Offset 0
  52. MemberDecorate 30(VSConstants) 0 MatrixStride 16
  53. MemberDecorate 30(VSConstants) 1 RowMajor
  54. MemberDecorate 30(VSConstants) 1 Offset 64
  55. MemberDecorate 30(VSConstants) 1 MatrixStride 16
  56. MemberDecorate 30(VSConstants) 2 Offset 128
  57. Decorate 30(VSConstants) Block
  58. Decorate 32 DescriptorSet 0
  59. Decorate 32 Binding 0
  60. Decorate 85(vsInput.position) Location 0
  61. Decorate 89(vsInput.texcoord0) Location 1
  62. Decorate 92(vsInput.normal) Location 2
  63. Decorate 95(vsInput.tangent) Location 3
  64. Decorate 98(vsInput.bitangent) Location 4
  65. Decorate 106(@entryPointOutput.position) BuiltIn Position
  66. Decorate 110(@entryPointOutput.worldPos) Location 0
  67. Decorate 114(@entryPointOutput.texCoord) Location 1
  68. Decorate 117(@entryPointOutput.viewDir) Location 2
  69. Decorate 120(@entryPointOutput.shadowCoord) Location 3
  70. Decorate 123(@entryPointOutput.normal) Location 4
  71. Decorate 126(@entryPointOutput.tangent) Location 5
  72. Decorate 129(@entryPointOutput.bitangent) Location 6
  73. 2: TypeVoid
  74. 3: TypeFunction 2
  75. 6: TypeFloat 32
  76. 7: TypeVector 6(float) 3
  77. 8: TypeVector 6(float) 2
  78. 9(VSInput): TypeStruct 7(fvec3) 8(fvec2) 7(fvec3) 7(fvec3) 7(fvec3)
  79. 10: TypePointer Function 9(VSInput)
  80. 11: TypeVector 6(float) 4
  81. 12(VSOutput): TypeStruct 11(fvec4) 7(fvec3) 8(fvec2) 7(fvec3) 7(fvec3) 7(fvec3) 7(fvec3) 7(fvec3)
  82. 13: TypeFunction 12(VSOutput) 10(ptr)
  83. 17: TypePointer Function 12(VSOutput)
  84. 19: TypeInt 32 1
  85. 20: 19(int) Constant 0
  86. 21: TypePointer Function 7(fvec3)
  87. 24: 6(float) Constant 1065353216
  88. 29: TypeMatrix 11(fvec4) 4
  89. 30(VSConstants): TypeStruct 29 29 7(fvec3)
  90. 31: TypePointer Uniform 30(VSConstants)
  91. 32: 31(ptr) Variable Uniform
  92. 33: TypePointer Uniform 29
  93. 37: TypePointer Function 11(fvec4)
  94. 39: 19(int) Constant 1
  95. 43: 19(int) Constant 2
  96. 44: TypePointer Function 8(fvec2)
  97. 48: 19(int) Constant 3
  98. 51: TypePointer Uniform 7(fvec3)
  99. 56: 19(int) Constant 4
  100. 68: 19(int) Constant 5
  101. 72: 19(int) Constant 6
  102. 76: 19(int) Constant 7
  103. 84: TypePointer Input 7(fvec3)
  104. 85(vsInput.position): 84(ptr) Variable Input
  105. 88: TypePointer Input 8(fvec2)
  106. 89(vsInput.texcoord0): 88(ptr) Variable Input
  107. 92(vsInput.normal): 84(ptr) Variable Input
  108. 95(vsInput.tangent): 84(ptr) Variable Input
  109. 98(vsInput.bitangent): 84(ptr) Variable Input
  110. 105: TypePointer Output 11(fvec4)
  111. 106(@entryPointOutput.position): 105(ptr) Variable Output
  112. 109: TypePointer Output 7(fvec3)
  113. 110(@entryPointOutput.worldPos): 109(ptr) Variable Output
  114. 113: TypePointer Output 8(fvec2)
  115. 114(@entryPointOutput.texCoord): 113(ptr) Variable Output
  116. 117(@entryPointOutput.viewDir): 109(ptr) Variable Output
  117. 120(@entryPointOutput.shadowCoord): 109(ptr) Variable Output
  118. 123(@entryPointOutput.normal): 109(ptr) Variable Output
  119. 126(@entryPointOutput.tangent): 109(ptr) Variable Output
  120. 129(@entryPointOutput.bitangent): 109(ptr) Variable Output
  121. 4(main): 2 Function None 3
  122. 5: Label
  123. 83(vsInput): 10(ptr) Variable Function
  124. 101(flattenTemp): 17(ptr) Variable Function
  125. 102(param): 10(ptr) Variable Function
  126. 86: 7(fvec3) Load 85(vsInput.position)
  127. 87: 21(ptr) AccessChain 83(vsInput) 20
  128. Store 87 86
  129. 90: 8(fvec2) Load 89(vsInput.texcoord0)
  130. 91: 44(ptr) AccessChain 83(vsInput) 39
  131. Store 91 90
  132. 93: 7(fvec3) Load 92(vsInput.normal)
  133. 94: 21(ptr) AccessChain 83(vsInput) 43
  134. Store 94 93
  135. 96: 7(fvec3) Load 95(vsInput.tangent)
  136. 97: 21(ptr) AccessChain 83(vsInput) 48
  137. Store 97 96
  138. 99: 7(fvec3) Load 98(vsInput.bitangent)
  139. 100: 21(ptr) AccessChain 83(vsInput) 56
  140. Store 100 99
  141. 103: 9(VSInput) Load 83(vsInput)
  142. Store 102(param) 103
  143. 104:12(VSOutput) FunctionCall 15(@main(struct-VSInput-vf3-vf2-vf3-vf3-vf31;) 102(param)
  144. Store 101(flattenTemp) 104
  145. 107: 37(ptr) AccessChain 101(flattenTemp) 20
  146. 108: 11(fvec4) Load 107
  147. Store 106(@entryPointOutput.position) 108
  148. 111: 21(ptr) AccessChain 101(flattenTemp) 39
  149. 112: 7(fvec3) Load 111
  150. Store 110(@entryPointOutput.worldPos) 112
  151. 115: 44(ptr) AccessChain 101(flattenTemp) 43
  152. 116: 8(fvec2) Load 115
  153. Store 114(@entryPointOutput.texCoord) 116
  154. 118: 21(ptr) AccessChain 101(flattenTemp) 48
  155. 119: 7(fvec3) Load 118
  156. Store 117(@entryPointOutput.viewDir) 119
  157. 121: 21(ptr) AccessChain 101(flattenTemp) 56
  158. 122: 7(fvec3) Load 121
  159. Store 120(@entryPointOutput.shadowCoord) 122
  160. 124: 21(ptr) AccessChain 101(flattenTemp) 68
  161. 125: 7(fvec3) Load 124
  162. Store 123(@entryPointOutput.normal) 125
  163. 127: 21(ptr) AccessChain 101(flattenTemp) 72
  164. 128: 7(fvec3) Load 127
  165. Store 126(@entryPointOutput.tangent) 128
  166. 130: 21(ptr) AccessChain 101(flattenTemp) 76
  167. 131: 7(fvec3) Load 130
  168. Store 129(@entryPointOutput.bitangent) 131
  169. Return
  170. FunctionEnd
  171. 15(@main(struct-VSInput-vf3-vf2-vf3-vf3-vf31;):12(VSOutput) Function None 13
  172. 14(vsInput): 10(ptr) FunctionParameter
  173. 16: Label
  174. 18(vsOutput): 17(ptr) Variable Function
  175. 22: 21(ptr) AccessChain 14(vsInput) 20
  176. 23: 7(fvec3) Load 22
  177. 25: 6(float) CompositeExtract 23 0
  178. 26: 6(float) CompositeExtract 23 1
  179. 27: 6(float) CompositeExtract 23 2
  180. 28: 11(fvec4) CompositeConstruct 25 26 27 24
  181. 34: 33(ptr) AccessChain 32 20
  182. 35: 29 Load 34
  183. 36: 11(fvec4) VectorTimesMatrix 28 35
  184. 38: 37(ptr) AccessChain 18(vsOutput) 20
  185. Store 38 36
  186. 40: 21(ptr) AccessChain 14(vsInput) 20
  187. 41: 7(fvec3) Load 40
  188. 42: 21(ptr) AccessChain 18(vsOutput) 39
  189. Store 42 41
  190. 45: 44(ptr) AccessChain 14(vsInput) 39
  191. 46: 8(fvec2) Load 45
  192. 47: 44(ptr) AccessChain 18(vsOutput) 43
  193. Store 47 46
  194. 49: 21(ptr) AccessChain 14(vsInput) 20
  195. 50: 7(fvec3) Load 49
  196. 52: 51(ptr) AccessChain 32 43
  197. 53: 7(fvec3) Load 52
  198. 54: 7(fvec3) FSub 50 53
  199. 55: 21(ptr) AccessChain 18(vsOutput) 48
  200. Store 55 54
  201. 57: 21(ptr) AccessChain 14(vsInput) 20
  202. 58: 7(fvec3) Load 57
  203. 59: 6(float) CompositeExtract 58 0
  204. 60: 6(float) CompositeExtract 58 1
  205. 61: 6(float) CompositeExtract 58 2
  206. 62: 11(fvec4) CompositeConstruct 59 60 61 24
  207. 63: 33(ptr) AccessChain 32 39
  208. 64: 29 Load 63
  209. 65: 11(fvec4) VectorTimesMatrix 62 64
  210. 66: 7(fvec3) VectorShuffle 65 65 0 1 2
  211. 67: 21(ptr) AccessChain 18(vsOutput) 56
  212. Store 67 66
  213. 69: 21(ptr) AccessChain 14(vsInput) 43
  214. 70: 7(fvec3) Load 69
  215. 71: 21(ptr) AccessChain 18(vsOutput) 68
  216. Store 71 70
  217. 73: 21(ptr) AccessChain 14(vsInput) 48
  218. 74: 7(fvec3) Load 73
  219. 75: 21(ptr) AccessChain 18(vsOutput) 72
  220. Store 75 74
  221. 77: 21(ptr) AccessChain 14(vsInput) 56
  222. 78: 7(fvec3) Load 77
  223. 79: 21(ptr) AccessChain 18(vsOutput) 76
  224. Store 79 78
  225. 80:12(VSOutput) Load 18(vsOutput)
  226. ReturnValue 80
  227. FunctionEnd
Add Comment
Please, Sign In to add comment