tint: Fix TINT_PRINT_PROGRAM_FOR_EACH_TRANSFORM
The #if disabled code wasn't compiling as a variable was renamed Change-Id: I2ce7210d18d52036dd99f729a44e21c6137f84a9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/110520 Auto-Submit: Ben Clayton <bclayton@google.com> Commit-Queue: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
This commit is contained in:
parent
bb7e4aa0b2
commit
542db5ce06
|
@ -36,7 +36,7 @@ Transform::ApplyResult Manager::Apply(const Program* program,
|
|||
DataMap& outputs) const {
|
||||
#if TINT_PRINT_PROGRAM_FOR_EACH_TRANSFORM
|
||||
auto print_program = [&](const char* msg, const Transform* transform) {
|
||||
auto wgsl = Program::printer(in);
|
||||
auto wgsl = Program::printer(program);
|
||||
std::cout << "---------------------------------------------------------" << std::endl;
|
||||
std::cout << "-- " << msg << " " << transform->TypeInfo().name << ":" << std::endl;
|
||||
std::cout << "---------------------------------------------------------" << std::endl;
|
||||
|
|
Loading…
Reference in New Issue