blob: 03686f0161488975f747cd3bf186f3f7bad26c08 [file] [log] [blame]
Ben Clayton01e4b6f2022-01-19 22:46:57 +00001@group(1) @binding(0) var arg_0 : texture_3d<u32>;
Ben Claytonb07a7ce2021-06-03 11:26:17 +00002
3fn textureLoad_a9a9f5() {
Ben Claytonc3adc782022-10-25 13:08:45 +00004 var res : vec4<u32> = textureLoad(arg_0, vec3<i32>(), 1i);
Ben Claytonb07a7ce2021-06-03 11:26:17 +00005}
6
dan sinclairb29892b2022-06-07 13:55:34 +00007@vertex
Ben Clayton01e4b6f2022-01-19 22:46:57 +00008fn vertex_main() -> @builtin(position) vec4<f32> {
Ben Claytonb07a7ce2021-06-03 11:26:17 +00009 textureLoad_a9a9f5();
James Price9fd3bef2021-06-04 17:31:48 +000010 return vec4<f32>();
Ben Claytonb07a7ce2021-06-03 11:26:17 +000011}
12
dan sinclairb29892b2022-06-07 13:55:34 +000013@fragment
Ben Claytonb07a7ce2021-06-03 11:26:17 +000014fn fragment_main() {
15 textureLoad_a9a9f5();
16}
17
dan sinclairb29892b2022-06-07 13:55:34 +000018@compute @workgroup_size(1)
Ben Claytonb07a7ce2021-06-03 11:26:17 +000019fn compute_main() {
20 textureLoad_a9a9f5();
21}