blob: 82aad6c74394c352d064bcdfe3ca9b852cf4c89c [file] [log] [blame]
James Price807f3ef2023-08-11 00:45:54 +00001// Copyright 2023 The Tint Authors.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15////////////////////////////////////////////////////////////////////////////////
16// File generated by tools/src/cmd/gen
17// using the template:
18// test/tint/builtins/gen/gen.wgsl.tmpl
19//
20// Do not modify this file directly
21////////////////////////////////////////////////////////////////////////////////
22
23
24enable chromium_experimental_read_write_storage_texture;
25@group(1) @binding(0) var arg_0: texture_storage_2d<r32uint, read_write>;
26
27// fn textureStore(texture: texture_storage_2d<r32uint, read_write>, coords: vec2<i32>, value: vec4<u32>)
28fn textureStore_579b93() {
29 textureStore(arg_0, vec2<i32>(1i), vec4<u32>(1u));
30}
31@vertex
32fn vertex_main() -> @builtin(position) vec4<f32> {
33 textureStore_579b93();
34 return vec4<f32>();
35}
36
37@fragment
38fn fragment_main() {
39 textureStore_579b93();
40}
41
42@compute @workgroup_size(1)
43fn compute_main() {
44 textureStore_579b93();
45}