Add transform::Renamer

Renames symbols.
Currently only supports renaming to a symbol with a monotonic increasing suffix.

Change-Id: I7ae67a7b1740ac0e83c1821643cf7b8b1959f84d
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/42842
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
This commit is contained in:
Ben Clayton
2021-03-04 11:12:45 +00:00
committed by Commit Bot service account
parent 5ca9741b69
commit e18a18bc1c
6 changed files with 237 additions and 0 deletions

View File

@@ -28,6 +28,7 @@
#include "src/transform/emit_vertex_point_size.h"
#include "src/transform/first_index_offset.h"
#include "src/transform/manager.h"
#include "src/transform/renamer.h"
#include "src/transform/vertex_pulling.h"
#include "src/type/type_manager.h"
#include "src/validator/validator.h"