blob: 92ffb04a0a817d8d8f4565ff5c0fd28e876c5e6e [file] [log] [blame]
dan sinclair42e873c2021-01-12 18:13:28 +00001// Copyright 2020 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.
dan sinclair6366f682020-06-23 18:22:21 +000014
15fn main() -> f32 {
16 return ((2. * 3.) - 4.) / 5.;
17}
dan sinclaird05f93f2020-09-21 00:37:08 +000018
Ben Clayton01e4b6f2022-01-19 22:46:57 +000019@stage(compute) @workgroup_size(2)
Ben Clayton9328d942021-04-08 14:39:47 +000020fn ep() {
dan sinclaird05f93f2020-09-21 00:37:08 +000021}