From 93c0ef2b3309b737730cc0624d48809eb630e7ed Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Wed, 14 Dec 2022 19:29:10 +0000 Subject: [PATCH] Reduce default vec size in composite. This CL decreases the default vector size in Composite from 8 to 4. There will, probably, be a lot more vectors then arrays and structs so this should reduce the used memory slightly. Change-Id: I0a47780736192b43189cd211d34744a4f8028b97 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/114200 Kokoro: Kokoro Reviewed-by: Ben Clayton Commit-Queue: Dan Sinclair --- src/tint/constant/composite.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tint/constant/composite.h b/src/tint/constant/composite.h index 98bf93a1c7..598a4af7ca 100644 --- a/src/tint/constant/composite.h +++ b/src/tint/constant/composite.h @@ -57,7 +57,7 @@ class Composite : public Castable { /// The composite type type::Type const* const type; /// The composite elements - const utils::Vector elements; + const utils::Vector elements; /// True if all elements are zero const bool all_zero; /// True if any element is zero