Open xiaoqiang-wang opened 2 years ago
Have you looked at the command-line argument -i
?
-i intermediate tree (glslang AST) is printed out
It might have the information you're looking for.
@jeremy-lunarg thanks alot my friend,
the argument -i
is print AST as text file.
I want to view it as graph, some node connected with edges.
That's the closest thing we have at this time. Sorry.
We would be open to someone contributing such code!
Hello, my frineds Does
glslang
can print a AST as graph?some thing like
.dot
file, and usegraphviz
to view what the AST really is?or can we use other tools to view a AST in a graph?