aboutsummaryrefslogtreecommitdiff
path: root/externals/sirit/src/instructions/annotation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/sirit/src/instructions/annotation.cpp')
-rw-r--r--externals/sirit/src/instructions/annotation.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/externals/sirit/src/instructions/annotation.cpp b/externals/sirit/src/instructions/annotation.cpp
deleted file mode 100644
index e3524bb83a..0000000000
--- a/externals/sirit/src/instructions/annotation.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-/* This file is part of the sirit project.
- * Copyright (c) 2019 sirit
- * This software may be used and distributed according to the terms of the
- * 3-Clause BSD License
- */
-
-#include <span>
-
-#include "sirit/sirit.h"
-
-#include "stream.h"
-
-namespace Sirit {
-
-Id Module::Decorate(Id target, spv::Decoration decoration, std::span<const Literal> literals) {
- annotations->Reserve(3 + literals.size());
- return *annotations << spv::Op::OpDecorate << target << decoration << literals << EndOp{};
-}
-
-Id Module::MemberDecorate(Id structure_type, Literal member, spv::Decoration decoration,
- std::span<const Literal> literals) {
- annotations->Reserve(4 + literals.size());
- return *annotations << spv::Op::OpMemberDecorate << structure_type << member << decoration
- << literals << EndOp{};
-}
-
-} // namespace Sirit