Skip to content

Commit 3978cb8

Browse files
committed
Add expected result of test
1 parent 221488e commit 3978cb8

File tree

1 file changed

+220
-0
lines changed

1 file changed

+220
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
result code = 0
2+
standard error = {
3+
}
4+
standard output = {
5+
{
6+
"parameters": [
7+
{
8+
"name": "NoParameters",
9+
"binding": {"kind": "shaderResource", "index": 0},
10+
"type": {
11+
"kind": "resource",
12+
"baseShape": "texture2D",
13+
"resultType": {
14+
"kind": "vector",
15+
"elementCount": 4,
16+
"elementType": {
17+
"kind": "scalar",
18+
"scalarType": "float32"
19+
}
20+
}
21+
}
22+
},
23+
{
24+
"name": "FloatTexture",
25+
"binding": {"kind": "shaderResource", "index": 1},
26+
"type": {
27+
"kind": "resource",
28+
"baseShape": "texture2D",
29+
"resultType": {
30+
"kind": "scalar",
31+
"scalarType": "float32"
32+
}
33+
}
34+
},
35+
{
36+
"name": "FloatTwoTexture",
37+
"binding": {"kind": "shaderResource", "index": 2},
38+
"type": {
39+
"kind": "resource",
40+
"baseShape": "texture2D",
41+
"resultType": {
42+
"kind": "vector",
43+
"elementCount": 2,
44+
"elementType": {
45+
"kind": "scalar",
46+
"scalarType": "float32"
47+
}
48+
}
49+
}
50+
},
51+
{
52+
"name": "FloatFourTexture",
53+
"binding": {"kind": "shaderResource", "index": 3},
54+
"type": {
55+
"kind": "resource",
56+
"baseShape": "texture2D",
57+
"resultType": {
58+
"kind": "vector",
59+
"elementCount": 4,
60+
"elementType": {
61+
"kind": "scalar",
62+
"scalarType": "float32"
63+
}
64+
}
65+
}
66+
},
67+
{
68+
"name": "IntTexture",
69+
"binding": {"kind": "shaderResource", "index": 4},
70+
"type": {
71+
"kind": "resource",
72+
"baseShape": "texture2D",
73+
"resultType": {
74+
"kind": "scalar",
75+
"scalarType": "int32"
76+
}
77+
}
78+
},
79+
{
80+
"name": "IntTwoTexture",
81+
"binding": {"kind": "shaderResource", "index": 5},
82+
"type": {
83+
"kind": "resource",
84+
"baseShape": "texture2D",
85+
"resultType": {
86+
"kind": "vector",
87+
"elementCount": 2,
88+
"elementType": {
89+
"kind": "scalar",
90+
"scalarType": "int32"
91+
}
92+
}
93+
}
94+
},
95+
{
96+
"name": "IntFourTexture",
97+
"binding": {"kind": "shaderResource", "index": 6},
98+
"type": {
99+
"kind": "resource",
100+
"baseShape": "texture2D",
101+
"resultType": {
102+
"kind": "vector",
103+
"elementCount": 4,
104+
"elementType": {
105+
"kind": "scalar",
106+
"scalarType": "int32"
107+
}
108+
}
109+
}
110+
},
111+
{
112+
"name": "UintTexture",
113+
"binding": {"kind": "shaderResource", "index": 7},
114+
"type": {
115+
"kind": "resource",
116+
"baseShape": "texture2D",
117+
"resultType": {
118+
"kind": "scalar",
119+
"scalarType": "uint32"
120+
}
121+
}
122+
},
123+
{
124+
"name": "UintTwoTexture",
125+
"binding": {"kind": "shaderResource", "index": 8},
126+
"type": {
127+
"kind": "resource",
128+
"baseShape": "texture2D",
129+
"resultType": {
130+
"kind": "vector",
131+
"elementCount": 2,
132+
"elementType": {
133+
"kind": "scalar",
134+
"scalarType": "uint32"
135+
}
136+
}
137+
}
138+
},
139+
{
140+
"name": "UintFourTexture",
141+
"binding": {"kind": "shaderResource", "index": 9},
142+
"type": {
143+
"kind": "resource",
144+
"baseShape": "texture2D",
145+
"resultType": {
146+
"kind": "vector",
147+
"elementCount": 4,
148+
"elementType": {
149+
"kind": "scalar",
150+
"scalarType": "uint32"
151+
}
152+
}
153+
}
154+
}
155+
],
156+
"entryPoints": [
157+
{
158+
"name": "main",
159+
"stage": "compute",
160+
"parameters": [
161+
{
162+
"name": "dispatchThreadID",
163+
"semanticName": "SV_DISPATCHTHREADID",
164+
"type": {
165+
"kind": "vector",
166+
"elementCount": 3,
167+
"elementType": {
168+
"kind": "scalar",
169+
"scalarType": "uint32"
170+
}
171+
}
172+
}
173+
],
174+
"threadGroupSize": [1, 1, 1],
175+
"bindings": [
176+
{
177+
"name": "NoParameters",
178+
"binding": {"kind": "shaderResource", "index": 0, "used": 0}
179+
},
180+
{
181+
"name": "FloatTexture",
182+
"binding": {"kind": "shaderResource", "index": 1, "used": 0}
183+
},
184+
{
185+
"name": "FloatTwoTexture",
186+
"binding": {"kind": "shaderResource", "index": 2, "used": 0}
187+
},
188+
{
189+
"name": "FloatFourTexture",
190+
"binding": {"kind": "shaderResource", "index": 3, "used": 0}
191+
},
192+
{
193+
"name": "IntTexture",
194+
"binding": {"kind": "shaderResource", "index": 4, "used": 0}
195+
},
196+
{
197+
"name": "IntTwoTexture",
198+
"binding": {"kind": "shaderResource", "index": 5, "used": 0}
199+
},
200+
{
201+
"name": "IntFourTexture",
202+
"binding": {"kind": "shaderResource", "index": 6, "used": 0}
203+
},
204+
{
205+
"name": "UintTexture",
206+
"binding": {"kind": "shaderResource", "index": 7, "used": 0}
207+
},
208+
{
209+
"name": "UintTwoTexture",
210+
"binding": {"kind": "shaderResource", "index": 8, "used": 0}
211+
},
212+
{
213+
"name": "UintFourTexture",
214+
"binding": {"kind": "shaderResource", "index": 9, "used": 0}
215+
}
216+
]
217+
}
218+
]
219+
}
220+
}

0 commit comments

Comments
 (0)