aboutsummaryrefslogtreecommitdiff
path: root/externals/sirit/src/instructions/misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/sirit/src/instructions/misc.cpp')
-rw-r--r--externals/sirit/src/instructions/misc.cpp38
1 files changed, 0 insertions, 38 deletions
diff --git a/externals/sirit/src/instructions/misc.cpp b/externals/sirit/src/instructions/misc.cpp
deleted file mode 100644
index 6785346eb1..0000000000
--- a/externals/sirit/src/instructions/misc.cpp
+++ /dev/null
@@ -1,38 +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 "sirit/sirit.h"
-
-#include "stream.h"
-
-namespace Sirit {
-
-Id Module::OpUndef(Id result_type) {
- code->Reserve(3);
- return *code << OpId{spv::Op::OpUndef, result_type} << EndOp{};
-}
-
-void Module::OpEmitVertex() {
- code->Reserve(1);
- *code << spv::Op::OpEmitVertex << EndOp{};
-}
-
-void Module::OpEndPrimitive() {
- code->Reserve(1);
- *code << spv::Op::OpEndPrimitive << EndOp{};
-}
-
-void Module::OpEmitStreamVertex(Id stream) {
- code->Reserve(2);
- *code << spv::Op::OpEmitStreamVertex << stream << EndOp{};
-}
-
-void Module::OpEndStreamPrimitive(Id stream) {
- code->Reserve(2);
- *code << spv::Op::OpEndStreamPrimitive << stream << EndOp{};
-}
-
-} // namespace Sirit