Title: [248740] trunk/Source/WebCore
- Revision
- 248740
- Author
- [email protected]
- Date
- 2019-08-15 13:13:14 -0700 (Thu, 15 Aug 2019)
Log Message
Unreviewed. Debug build fix after r248730.
* Modules/webgpu/WHLSL/Metal/WHLSLNativeFunctionWriter.cpp:
(WebCore::WHLSL::Metal::inlineNativeFunction):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (248739 => 248740)
--- trunk/Source/WebCore/ChangeLog 2019-08-15 19:32:14 UTC (rev 248739)
+++ trunk/Source/WebCore/ChangeLog 2019-08-15 20:13:14 UTC (rev 248740)
@@ -1,3 +1,10 @@
+2019-08-15 Saam Barati <[email protected]>
+
+ Unreviewed. Debug build fix after r248730.
+
+ * Modules/webgpu/WHLSL/Metal/WHLSLNativeFunctionWriter.cpp:
+ (WebCore::WHLSL::Metal::inlineNativeFunction):
+
2019-08-15 Devin Rousso <[email protected]>
Web Inspector: support `console.screenshot` with detached <canvas>
Modified: trunk/Source/WebCore/Modules/webgpu/WHLSL/Metal/WHLSLNativeFunctionWriter.cpp (248739 => 248740)
--- trunk/Source/WebCore/Modules/webgpu/WHLSL/Metal/WHLSLNativeFunctionWriter.cpp 2019-08-15 19:32:14 UTC (rev 248739)
+++ trunk/Source/WebCore/Modules/webgpu/WHLSL/Metal/WHLSLNativeFunctionWriter.cpp 2019-08-15 20:13:14 UTC (rev 248740)
@@ -253,7 +253,7 @@
auto& typeReference = downcast<AST::TypeReference>(*nativeFunctionDeclaration.parameters()[0]->type());
auto& vectorType = downcast<AST::NativeTypeDeclaration>(downcast<AST::TypeReference>(downcast<AST::TypeDefinition>(typeReference.resolvedType()).type()).resolvedType());
ASSERT(vectorType.name() == "vector");
- ASSERT(matrixType.typeArguments().size() == 2);
+ ASSERT(vectorType.typeArguments().size() == 2);
return WTF::get<AST::ConstantExpression>(vectorType.typeArguments()[1]).integerLiteral().value();
};
auto matrixDimension = [&] (unsigned typeArgumentIndex) -> unsigned {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes