Update new entry points to use correct namer.
This CL fixes up a merge conflict which accidentally used the Unsafe namer instead of the Mangle namer for the temporary API to allow rolling into Chrome. Change-Id: Id3b932d29fe15ab64347350f5b36b3d9efeffbdf Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/37300 Auto-Submit: dan sinclair <dsinclair@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
parent
f6866a2ffc
commit
03f38e0cd9
|
@ -22,7 +22,7 @@ namespace hlsl {
|
|||
|
||||
Generator::Generator(ast::Module module)
|
||||
: Text(std::move(module)),
|
||||
namer_(std::make_unique<UnsafeNamer>(module_)),
|
||||
namer_(std::make_unique<MangleNamer>(module_)),
|
||||
impl_(std::make_unique<GeneratorImpl>(module_, namer_.get())) {}
|
||||
|
||||
Generator::Generator(ast::Module* module)
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace msl {
|
|||
|
||||
Generator::Generator(ast::Module module)
|
||||
: Text(std::move(module)),
|
||||
namer_(std::make_unique<UnsafeNamer>(module_)),
|
||||
namer_(std::make_unique<MangleNamer>(module_)),
|
||||
impl_(std::make_unique<GeneratorImpl>(module_, namer_.get())) {}
|
||||
|
||||
Generator::Generator(ast::Module* module)
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace spirv {
|
|||
|
||||
Generator::Generator(ast::Module module)
|
||||
: writer::Writer(std::move(module)),
|
||||
namer_(std::make_unique<UnsafeNamer>(module_)),
|
||||
namer_(std::make_unique<MangleNamer>(module_)),
|
||||
builder_(std::make_unique<Builder>(module_, namer_.get())),
|
||||
writer_(std::make_unique<BinaryWriter>()) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue