mirror of
https://github.com/yuzu-emu/sirit.git
synced 2024-11-25 16:55:42 +01:00
Remove optimization entry
This commit is contained in:
parent
0863cd49c9
commit
4ff603bbd6
@ -12,9 +12,6 @@ What it does for you:
|
|||||||
* Emit SPIR-V opcodes
|
* Emit SPIR-V opcodes
|
||||||
* Add capabilities automatically
|
* Add capabilities automatically
|
||||||
|
|
||||||
What it will try to do in the future:
|
|
||||||
* Optimize code
|
|
||||||
|
|
||||||
What does not do for you:
|
What does not do for you:
|
||||||
* Avoid ID duplicates (emitting the same instruction twice)
|
* Avoid ID duplicates (emitting the same instruction twice)
|
||||||
* Dump code to disk
|
* Dump code to disk
|
||||||
|
@ -35,13 +35,6 @@ class Module {
|
|||||||
*/
|
*/
|
||||||
std::vector<std::uint8_t> Assemble() const;
|
std::vector<std::uint8_t> Assemble() const;
|
||||||
|
|
||||||
/**
|
|
||||||
* Optimizes module's IR.
|
|
||||||
* All returned references become invalid.
|
|
||||||
* @param level Level of optimization.
|
|
||||||
*/
|
|
||||||
void Optimize(int level);
|
|
||||||
|
|
||||||
/// Adds a module capability.
|
/// Adds a module capability.
|
||||||
void AddCapability(spv::Capability capability);
|
void AddCapability(spv::Capability capability);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user