wgpu/tests/out/dot/quad.dot
pyrotechnick 2f516c0932
[wgsl] Storage buffer/texture access (#1142)
* Resurrect texture_storage_* tests
* Test parsing of `var<storage,write>`
* Default storage textures to READ
* Restore default features
* Fix glsl/hlsl/msl/spv front and back ends
* Add missing test outputs
* All-around fixes for the storage access

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-07-28 01:47:18 -04:00

108 lines
4.1 KiB
Plaintext

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_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="#fdb462" label="[4] Multiply" ]
ep0_e1 -> ep0_e3 [ label="right" ]
ep0_e0 -> ep0_e3 [ label="left" ]
ep0_e4 [ fillcolor="#ffffb3" label="[5] Constant" ]
ep0_e5 [ fillcolor="#ffffb3" label="[6] Constant" ]
ep0_e6 [ color="#bebada" label="[7] Compose" ]
{ ep0_e3 ep0_e4 ep0_e5 } -> ep0_e6
ep0_e7 [ color="#bebada" label="[8] Compose" ]
{ ep0_e2 ep0_e6 } -> ep0_e7
ep0_s0 [ shape=square label="Root" ]
ep0_s1 [ shape=square label="Emit" ]
ep0_s2 [ shape=square label="Emit" ]
ep0_s3 [ 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_e7 -> ep0_s3 [ label="value" ]
ep0_s1 -> ep0_e3 [ style=dotted ]
ep0_s2 -> ep0_e6 [ style=dotted ]
ep0_s2 -> ep0_e7 [ style=dotted ]
}
subgraph cluster_ep1 {
label="Fragment/'main'"
node [ style=filled ]
ep1_e0 [ fillcolor="#ffffb3" label="[1] Constant" ]
ep1_e1 [ color="#ffffb3" label="[2] Global" ]
g1 -> ep1_e1 [fillcolor=gray]
ep1_e2 [ color="#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 ]
}
subgraph cluster_ep2 {
label="Fragment/'fs_extra'"
node [ style=filled ]
ep2_e0 [ fillcolor="#ffffb3" label="[1] Constant" ]
ep2_e1 [ color="#ffffb3" label="[2] Global" ]
g1 -> ep2_e1 [fillcolor=gray]
ep2_e2 [ color="#ffffb3" label="[3] Global" ]
g0 -> ep2_e2 [fillcolor=gray]
ep2_e3 [ fillcolor="#ffffb3" label="[4] Constant" ]
ep2_e4 [ fillcolor="#ffffb3" label="[5] Constant" ]
ep2_e5 [ fillcolor="#ffffb3" label="[6] Constant" ]
ep2_e6 [ fillcolor="#ffffb3" label="[7] Constant" ]
ep2_e7 [ fillcolor="#bebada" label="[8] Compose" ]
{ ep2_e3 ep2_e4 ep2_e5 ep2_e6 } -> ep2_e7
ep2_s0 [ shape=square label="Root" ]
ep2_s1 [ shape=square label="Emit" ]
ep2_s2 [ shape=square label="Return" ]
ep2_s0 -> ep2_s1 [ arrowhead=tee label="" ]
ep2_s1 -> ep2_s2 [ arrowhead=tee label="" ]
ep2_e7 -> ep2_s2 [ label="value" ]
ep2_s1 -> ep2_e7 [ style=dotted ]
}
}