Closed didito closed 8 months ago
There is also room for improvement in UI notification, e.g. tell the user there was an error.
Currently the top right corner reports Loaded: my_filename.spv
and the left canvas just shows how far it was able to parse ...
thanks for the report! I will take a look into this, I agree the error reporting is in need of fixing... can try and improve that as well while on this
wow, so there is a extinst.debuginfo.grammar.json
and extinst.nonsemantic.shader.debuginfo.100.grammar.json
and the DebugInfo
was being used by both
was a simple fix, should be working now (making new issue for the lack of good reporting)
I can confirm it's working now. Thanks for the quick turn-around! 🙏
Hi,
Unfortunately, the Visualizer silently breaks on some of my SPVs.
I have only tried Chrome ("120.0.6099.130 (Official Build) (64-bit)") but looking at the debugger I don't think it is Browser related.
operand
simply has the value of 35 butextInstructionSet
contains only 34 entries and attempting to get opname results in an error/exception.This SPV in question is a vertex shader of a draw in a Z-prepass of current trunk version of Godot - some variant of https://github.com/godotengine/godot/blob/master/servers/rendering/renderer_rd/shaders/forward_clustered/scene_forward_clustered.glsl
Validation (spirv-val --target-env vulkan1.3) does not report any errors for me on VulkanSDK 1.3.250.0 but I have to admit I captured the SPIR-V disasm from RenderDoc and assembled it again. So not sure how original it still is.