mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Remove legacy EmitVertexPointSize transform
This has been moved into the Spirv sanitizer, and Dawn is now using this path. Change-Id: Iffcbbc1c84e6bad0ebc51ded82d998bb307e2d6d Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/50564 Auto-Submit: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
fe7f7b33fb
commit
77daee15bd
@@ -82,7 +82,6 @@ const char kUsage[] = R"(Usage: tint [options] <input-file>
|
||||
--transform <name list> -- Runs transforms, name list is comma separated
|
||||
Available transforms:
|
||||
bound_array_accessors
|
||||
emit_vertex_point_size
|
||||
first_index_offset
|
||||
renamer
|
||||
--parse-only -- Stop after parsing the input
|
||||
@@ -663,8 +662,6 @@ int main(int argc, const char** argv) {
|
||||
|
||||
if (name == "bound_array_accessors") {
|
||||
transform_manager.Add<tint::transform::BoundArrayAccessors>();
|
||||
} else if (name == "emit_vertex_point_size") {
|
||||
transform_manager.Add<tint::transform::EmitVertexPointSize>();
|
||||
} else if (name == "first_index_offset") {
|
||||
transform_inputs.Add<tint::transform::FirstIndexOffset::BindingPoint>(0,
|
||||
0);
|
||||
@@ -689,6 +686,7 @@ int main(int argc, const char** argv) {
|
||||
case Format::kSpirv:
|
||||
case Format::kSpvAsm:
|
||||
transform_manager.Add<tint::transform::Spirv>();
|
||||
transform_inputs.Add<tint::transform::Spirv::Config>(true);
|
||||
break;
|
||||
#endif // TINT_BUILD_SPV_WRITER
|
||||
#if TINT_BUILD_MSL_WRITER
|
||||
|
||||
Reference in New Issue
Block a user