unrelated_shaders_src.spvasm 863 B

12345678910111213141516171819202122232425
  1. ;; Tests diff of unrelated shaders (with different execution models).
  2. OpCapability Shader
  3. %1 = OpExtInstImport "GLSL.std.450"
  4. OpMemoryModel Logical GLSL450
  5. OpEntryPoint Vertex %4 "main" %8 %10
  6. OpSource ESSL 310
  7. OpName %4 "main"
  8. OpName %8 "v"
  9. OpName %10 "a"
  10. OpDecorate %8 Location 0
  11. OpDecorate %10 Location 0
  12. %2 = OpTypeVoid
  13. %3 = OpTypeFunction %2
  14. %6 = OpTypeFloat 32
  15. %7 = OpTypePointer Output %6
  16. %8 = OpVariable %7 Output
  17. %9 = OpTypePointer Input %6
  18. %10 = OpVariable %9 Input
  19. %4 = OpFunction %2 None %3
  20. %5 = OpLabel
  21. %11 = OpLoad %6 %10
  22. OpStore %8 %11
  23. OpReturn
  24. OpFunctionEnd