• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!amber
2# Copyright 2024 Advanced Micro Devices, Inc. All rights reserved.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#     https://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16SHADER compute shader GLSL FILE shader_file.comp
17BUFFER buffer DATA_TYPE uint32 DATA 0 END
18
19PIPELINE compute the_pipeline
20  ATTACH shader
21  BIND BUFFER buffer AS storage DESCRIPTOR_SET 0 BINDING 0
22END
23
24RUN the_pipeline 1 1 1
25EXPECT buffer IDX 0 EQ 1
26