aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJaebaek Seo <duke.acacia@gmail.com>2018-11-26 22:39:31 -0500
committerGitHub <noreply@github.com>2018-11-26 22:39:31 -0500
commit3a6f620e15e9c14ab6fd71e974549e61c2ca9d6e (patch)
treecd6ea5142c725dde8c01da7431a976550f593761 /tests
parentda1d01dfca44f24ab1e344f7c531d57735a499ac (diff)
downloadamber-3a6f620e15e9c14ab6fd71e974549e61c2ca9d6e.tar.gz
Vulkan: add compute pipeline (#98)
Fixes #13
Diffstat (limited to 'tests')
-rw-r--r--tests/cases/compute_nothing.amber22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/cases/compute_nothing.amber b/tests/cases/compute_nothing.amber
new file mode 100644
index 0000000..e296ef8
--- /dev/null
+++ b/tests/cases/compute_nothing.amber
@@ -0,0 +1,22 @@
+# Copyright 2018 The Amber Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+[compute shader]
+#version 430
+
+void main() {
+}
+
+[test]
+compute 4 1 1