Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging Shaders #79

Open
IanTrudel opened this issue Apr 8, 2020 · 1 comment
Open

Debugging Shaders #79

IanTrudel opened this issue Apr 8, 2020 · 1 comment
Labels
question Further information is requested Rendering

Comments

@IanTrudel
Copy link
Collaborator

These are tools to debug shaders:

https://github.com/dfranx/SHADERed

https://github.com/dfranx/SPIRV-VM

https://www.reddit.com/r/vulkan/comments/fwkz2t/spirvvm_a_spirv_virtual_machine/fmp6xo4

A SPIR-V VM makes it possible to run your shader on a CPU. This way people can step line by line through the shader and get variable values. Essentially, a SPIR-V virtual machine makes shader debuggers possible.

https://www.reddit.com/r/vulkan/comments/fwkz2t/spirvvm_a_spirv_virtual_machine/

@IanTrudel
Copy link
Collaborator Author

From @redhog

Yep, but if the loading worked, we could build an app that opens two windows and lets you write shader code in one, and renders the other using that shader code, changed in real time as you edit...

Could also let you edit properties of the render window as a property list...

@redhog redhog added question Further information is requested Rendering labels Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Rendering
Projects
None yet
Development

No branches or pull requests

2 participants