mirror of
https://github.com/yuzu-emu/sirit
synced 2024-11-26 11:07:54 +00:00
Remove Op prefix for Name
This commit is contained in:
parent
a08aeec982
commit
b8188f5ec4
2 changed files with 2 additions and 2 deletions
|
@ -192,7 +192,7 @@ class Module {
|
||||||
|
|
||||||
/// Assign a name string to a reference.
|
/// Assign a name string to a reference.
|
||||||
/// @return target
|
/// @return target
|
||||||
Ref OpName(Ref target, const std::string& name);
|
Ref Name(Ref target, const std::string& name);
|
||||||
|
|
||||||
// Memory
|
// Memory
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
namespace Sirit {
|
namespace Sirit {
|
||||||
|
|
||||||
Ref Module::OpName(Ref target, const std::string& name) {
|
Ref Module::Name(Ref target, const std::string& name) {
|
||||||
auto op{new Op(spv::Op::OpName)};
|
auto op{new Op(spv::Op::OpName)};
|
||||||
op->Add(target);
|
op->Add(target);
|
||||||
op->Add(name);
|
op->Add(name);
|
||||||
|
|
Loading…
Reference in a new issue