mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-12-04 04:38:02 +00:00
112 lines
4.1 KiB
Plaintext
112 lines
4.1 KiB
Plaintext
---
|
|
source: tests/snapshots.rs
|
|
expression: string
|
|
---
|
|
digraph Module {
|
|
subgraph cluster_globals {
|
|
label="Globals"
|
|
g0 [ shape=hexagon label="[1] Handle/'u_texture'" ]
|
|
g1 [ shape=hexagon label="[2] Handle/'u_sampler'" ]
|
|
}
|
|
subgraph cluster_ep0 {
|
|
label="Vertex/'main'"
|
|
node [ style=filled ]
|
|
ep0_l0 [ shape=hexagon label="[1] 'out'" ]
|
|
ep0_e0 [ fillcolor="#ffffb3" label="[1] Constant" ]
|
|
ep0_e1 [ color="#8dd3c7" label="[2] Argument[0]" ]
|
|
ep0_e2 [ color="#8dd3c7" label="[3] Argument[1]" ]
|
|
ep0_e3 [ color="#8dd3c7" label="[4] Local" ]
|
|
ep0_l0 -> ep0_e3
|
|
ep0_e4 [ color="#8dd3c7" label="[5] AccessIndex[0]" ]
|
|
ep0_e3 -> ep0_e4 [ label="base" ]
|
|
ep0_e5 [ color="#8dd3c7" label="[6] AccessIndex[1]" ]
|
|
ep0_e3 -> ep0_e5 [ label="base" ]
|
|
ep0_e6 [ color="#fdb462" label="[7] Multiply" ]
|
|
ep0_e1 -> ep0_e6 [ label="right" ]
|
|
ep0_e0 -> ep0_e6 [ label="left" ]
|
|
ep0_e7 [ fillcolor="#ffffb3" label="[8] Constant" ]
|
|
ep0_e8 [ fillcolor="#ffffb3" label="[9] Constant" ]
|
|
ep0_e9 [ color="#bebada" label="[10] Compose" ]
|
|
{ ep0_e6 ep0_e7 ep0_e8 } -> ep0_e9
|
|
ep0_e10 [ color="#fb8072" label="[11] Load" ]
|
|
ep0_e3 -> ep0_e10 [ label="pointer" ]
|
|
ep0_s0 [ shape=square label="Root" ]
|
|
ep0_s1 [ shape=square label="Emit" ]
|
|
ep0_s2 [ shape=square label="Store" ]
|
|
ep0_s3 [ shape=square label="Emit" ]
|
|
ep0_s4 [ shape=square label="Emit" ]
|
|
ep0_s5 [ shape=square label="Store" ]
|
|
ep0_s6 [ shape=square label="Emit" ]
|
|
ep0_s7 [ shape=square label="Return" ]
|
|
ep0_s0 -> ep0_s1 [ arrowhead=tee label="" ]
|
|
ep0_s1 -> ep0_s2 [ arrowhead=tee label="" ]
|
|
ep0_s2 -> ep0_s3 [ arrowhead=tee label="" ]
|
|
ep0_s3 -> ep0_s4 [ arrowhead=tee label="" ]
|
|
ep0_s4 -> ep0_s5 [ arrowhead=tee label="" ]
|
|
ep0_s5 -> ep0_s6 [ arrowhead=tee label="" ]
|
|
ep0_s6 -> ep0_s7 [ arrowhead=tee label="" ]
|
|
ep0_e2 -> ep0_s2 [ label="value" ]
|
|
ep0_e9 -> ep0_s5 [ label="value" ]
|
|
ep0_e10 -> ep0_s7 [ label="value" ]
|
|
ep0_s1 -> ep0_e4 [ style=dotted ]
|
|
ep0_s2 -> ep0_e4 [ style=dotted ]
|
|
ep0_s3 -> ep0_e5 [ style=dotted ]
|
|
ep0_s3 -> ep0_e6 [ style=dotted ]
|
|
ep0_s4 -> ep0_e9 [ style=dotted ]
|
|
ep0_s5 -> ep0_e5 [ style=dotted ]
|
|
ep0_s6 -> ep0_e10 [ style=dotted ]
|
|
}
|
|
subgraph cluster_ep1 {
|
|
label="Fragment/'main'"
|
|
node [ style=filled ]
|
|
ep1_e0 [ fillcolor="#ffffb3" label="[1] Constant" ]
|
|
ep1_e1 [ fillcolor="#ffffb3" label="[2] Global" ]
|
|
g1 -> ep1_e1 [fillcolor=gray]
|
|
ep1_e2 [ fillcolor="#ffffb3" label="[3] Global" ]
|
|
g0 -> ep1_e2 [fillcolor=gray]
|
|
ep1_e3 [ color="#8dd3c7" label="[4] Argument[0]" ]
|
|
ep1_e4 [ color="#80b1d3" label="[5] ImageSample" ]
|
|
ep1_e1 -> ep1_e4 [ label="sampler" ]
|
|
ep1_e2 -> ep1_e4 [ label="image" ]
|
|
ep1_e3 -> ep1_e4 [ label="coordinate" ]
|
|
ep1_e5 [ color="#8dd3c7" label="[6] AccessIndex[3]" ]
|
|
ep1_e4 -> ep1_e5 [ label="base" ]
|
|
ep1_e6 [ fillcolor="#ffffb3" label="[7] Constant" ]
|
|
ep1_e7 [ color="#fdb462" label="[8] Equal" ]
|
|
ep1_e6 -> ep1_e7 [ label="right" ]
|
|
ep1_e5 -> ep1_e7 [ label="left" ]
|
|
ep1_e8 [ color="#8dd3c7" label="[9] AccessIndex[3]" ]
|
|
ep1_e4 -> ep1_e8 [ label="base" ]
|
|
ep1_e9 [ color="#fdb462" label="[10] Multiply" ]
|
|
ep1_e4 -> ep1_e9 [ label="right" ]
|
|
ep1_e8 -> ep1_e9 [ label="left" ]
|
|
ep1_s0 [ shape=square label="Root" ]
|
|
ep1_s1 [ shape=square label="Emit" ]
|
|
ep1_s2 [ shape=square label="Emit" ]
|
|
ep1_s3 [ shape=square label="Emit" ]
|
|
ep1_s4 [ shape=square label="If" ]
|
|
ep1_s5 [ shape=square label="Node" ]
|
|
ep1_s6 [ shape=square label="Kill" ]
|
|
ep1_s7 [ shape=square label="Node" ]
|
|
ep1_s8 [ shape=square label="Emit" ]
|
|
ep1_s9 [ shape=square label="Return" ]
|
|
ep1_s0 -> ep1_s1 [ arrowhead=tee label="" ]
|
|
ep1_s1 -> ep1_s2 [ arrowhead=tee label="" ]
|
|
ep1_s2 -> ep1_s3 [ arrowhead=tee label="" ]
|
|
ep1_s3 -> ep1_s4 [ arrowhead=tee label="" ]
|
|
ep1_s5 -> ep1_s6 [ arrowhead=tee label="" ]
|
|
ep1_s4 -> ep1_s5 [ arrowhead=tee label="accept" ]
|
|
ep1_s4 -> ep1_s7 [ arrowhead=tee label="reject" ]
|
|
ep1_s7 -> ep1_s8 [ arrowhead=tee label="" ]
|
|
ep1_s8 -> ep1_s9 [ arrowhead=tee label="" ]
|
|
ep1_e7 -> ep1_s4 [ label="condition" ]
|
|
ep1_e9 -> ep1_s9 [ label="value" ]
|
|
ep1_s1 -> ep1_e4 [ style=dotted ]
|
|
ep1_s2 -> ep1_e5 [ style=dotted ]
|
|
ep1_s3 -> ep1_e7 [ style=dotted ]
|
|
ep1_s8 -> ep1_e8 [ style=dotted ]
|
|
ep1_s8 -> ep1_e9 [ style=dotted ]
|
|
}
|
|
}
|
|
|