basic_dst.spvasm 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ; SPIR-V
  2. ; Version: 1.0
  3. ; Generator: Khronos Glslang Reference Front End; 10
  4. ; Bound: 28
  5. ; Schema: 0
  6. OpCapability Shader
  7. %1 = OpExtInstImport "GLSL.std.450"
  8. OpMemoryModel Logical GLSL450
  9. OpEntryPoint Vertex %4 "main" %13 %17 %27
  10. OpSource GLSL 450
  11. OpName %4 "main"
  12. OpName %11 "gl_PerVertex"
  13. OpMemberName %11 0 "gl_Position"
  14. OpMemberName %11 1 "gl_PointSize"
  15. OpMemberName %11 2 "gl_ClipDistance"
  16. OpMemberName %11 3 "gl_CullDistance"
  17. OpName %13 ""
  18. OpName %17 "_ua_position"
  19. OpName %27 "ANGLEXfbPosition"
  20. OpMemberDecorate %11 0 BuiltIn Position
  21. OpMemberDecorate %11 1 BuiltIn PointSize
  22. OpMemberDecorate %11 2 BuiltIn ClipDistance
  23. OpMemberDecorate %11 3 BuiltIn CullDistance
  24. OpDecorate %11 Block
  25. OpDecorate %17 Location 0
  26. OpDecorate %27 Location 0
  27. %2 = OpTypeVoid
  28. %3 = OpTypeFunction %2
  29. %6 = OpTypeFloat 32
  30. %7 = OpTypeVector %6 4
  31. %8 = OpTypeInt 32 0
  32. %9 = OpConstant %8 1
  33. %10 = OpTypeArray %6 %9
  34. %11 = OpTypeStruct %7 %6 %10 %10
  35. %12 = OpTypePointer Output %11
  36. %13 = OpVariable %12 Output
  37. %14 = OpTypeInt 32 1
  38. %15 = OpConstant %14 0
  39. %16 = OpTypePointer Input %7
  40. %17 = OpVariable %16 Input
  41. %19 = OpTypePointer Output %7
  42. %27 = OpVariable %19 Output
  43. %4 = OpFunction %2 None %3
  44. %5 = OpLabel
  45. %18 = OpLoad %7 %17
  46. %20 = OpAccessChain %19 %13 %15
  47. OpStore %20 %18
  48. OpReturn
  49. OpFunctionEnd