Changeset 284849 in webkit
- Timestamp:
- Oct 25, 2021, 4:41:45 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/canvas/webgl/attrib-name-aliasing-bug-expected.txt (added)
-
LayoutTests/fast/canvas/webgl/attrib-name-aliasing-bug.html (added)
-
Source/ThirdParty/ANGLE/ChangeLog (modified) (1 diff)
-
Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/mtl_glslang_mtl_utils.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r284848 r284849 1 2021-10-25 Kyle Piddington <kpiddington@apple.com> 2 3 REGRESSION (iOS 15), safari604.1: Could not link the shader program 4 https://bugs.webkit.org/show_bug.cgi?id=231475 5 6 Renaming regex incorrectly substituted an attribute. 7 Update to require exact attribute match 8 9 Add test to expose bug, verify test passes 10 11 Reviewed by Dean Jackson. 12 13 * fast/canvas/webgl/attrib-name-aliasing-bug-expected.txt: Added. 14 * fast/canvas/webgl/attrib-name-aliasing-bug.html: Added. 15 1 16 2021-10-25 John Wilander <wilander@apple.com> 2 17 -
trunk/Source/ThirdParty/ANGLE/ChangeLog
r284298 r284849 1 2021-10-25 Kyle Piddington <kpiddington@apple.com> 2 3 REGRESSION (iOS 15), safari604.1: Could not link the shader program 4 https://bugs.webkit.org/show_bug.cgi?id=231475 5 6 Renaming regex incorrectly substituted an attribute. 7 Update to require exact attribute match 8 9 Reviewed by Dean Jackson 10 11 * src/libANGLE/renderer/metal/mtl_glslang_mtl_utils.mm: 12 (rx::mtl::updateShaderAttributes): 13 1 14 2021-10-15 Ross Kirsling <ross.kirsling@sony.com> 2 15 -
trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/mtl_glslang_mtl_utils.mm
r284293 r284849 172 172 { 173 173 stream.str(""); 174 stream << attribute.name << "_" << std::to_string(i) << sh::kUnassignedAttributeString; 175 attributeBindings.insert({std::string(stream.str()), i+attribute.location}); 174 stream << " " << kUserDefinedNamePrefix << attribute.name << "_" << std::to_string(i) 175 << sh::kUnassignedAttributeString; 176 attributeBindings.insert({std::string(stream.str()), i + attribute.location}); 176 177 } 177 178 } … … 179 180 { 180 181 stream.str(""); 181 stream << attribute.name << sh::kUnassignedAttributeString;182 attributeBindings.insert({std::string(stream.str()), attribute.location});182 stream << " " << kUserDefinedNamePrefix << attribute.name << sh::kUnassignedAttributeString; 183 attributeBindings.insert({std::string(stream.str()), attribute.location}); 183 184 } 184 185 }
Note:
See TracChangeset
for help on using the changeset viewer.