From 4ff603bbd6175d6cc1e087e9ee63d07c2a8a4538 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Sat, 27 Oct 2018 04:30:20 -0300 Subject: [PATCH] Remove optimization entry --- README.md | 3 --- include/sirit/sirit.h | 7 ------- 2 files changed, 10 deletions(-) diff --git a/README.md b/README.md index 9977622..56bad76 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,6 @@ What it does for you: * Emit SPIR-V opcodes * Add capabilities automatically -What it will try to do in the future: -* Optimize code - What does not do for you: * Avoid ID duplicates (emitting the same instruction twice) * Dump code to disk diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h index 69ba27d..496ee07 100644 --- a/include/sirit/sirit.h +++ b/include/sirit/sirit.h @@ -35,13 +35,6 @@ class Module { */ std::vector Assemble() const; - /** - * Optimizes module's IR. - * All returned references become invalid. - * @param level Level of optimization. - */ - void Optimize(int level); - /// Adds a module capability. void AddCapability(spv::Capability capability);