Commit 54e311162ff31a7a0ce502c5476cda41ff73fee8

Gregg Tavares 2021-08-19T15:02:16

Add delimeter to attribute search Attributes are written in MSL as type nameOfAttrib __unassigned_attribute__ and then at link time a string substitution replaces __unassigned_attribute__ The test had these attributes metal::float4 floatInput __unassigned_attribute__; metal::uint4 uintInput __unassigned_attribute__; metal::int4 intInput __unassigned_attribute__; and was searching for "intInput __unassigned_attribute__" which matching "uintInput __unassigned_attribute__". Adding a space in front of the search string fixes the issue. This fixes this test: WebGL2CompatibilityTest.VertexShaderAttributeTypeMismatch/ES3_Metal Bug: angleproject:5505 Change-Id: Ide07e5120e88927b1fdeb3cc32b456a661092802 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3108339 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Kenneth Russell <kbr@chromium.org> Commit-Queue: Gregg Tavares <gman@chromium.org>