0

I am experiencing issues with compilation of some GLSL code to SPIR-V as such I want to check through the SPIR-V code.

I want to be able to read through the assembly.

How can I do this?

Jonathan Woollett-light
  • 2,813
  • 5
  • 30
  • 58

1 Answers1

1

The SPIRV-Tools project has a disassember which you can use got get a textual form of the SPIR-V. The Tools are also provided in the Vulkan SDK, the spirv-dis executable is the one you want.

dj2
  • 9,534
  • 4
  • 29
  • 52