(WebCore::WHLSL::Metal::EntryPointScaffolding::builtInsSignature): Perform the type (WebCore::WHLSL::Metal::internalTypeForSemantic): Determine which Metal type corresponds to
#WEBKIT STICKY CODE#
Therefore, I've added a little bit of code during each entry point's pack and unpack stages For example, in WHLSL and HLSL, SV_DispatchThreadID variables have to be a float3, but in Metal, they are a uint3. For built-in variables, sometimes Metal's typeĭoesn't always match WHLSL's (and HLSL's type). It also adds a little bit of type renaming.
Numthreads() attributes on the same compute shader. There is some logic to make sure that there aren't two
#WEBKIT STICKY PATCH#
This patch also adds support for the WHLSL compiler to determine what the numthreads()Īttribute in the shader says so that it can be hooked up to Metal's threads-per-threadgroupĪrgument in the dispatch call. I've modified the two patchs (compute and rendering) to be almost exactly the This patch hooks up compute shaders in exactly the same way that vertex and fragment shadersĪre hooked up. (WebCore::WHLSL::PropertyResolver::visit):ġ0:20 PM Changeset in webkit by deletes in trunk
Modules/webgpu/WHLSL/Metal/WHLSLEntryPointScaffolding.cpp:.(WebCore::WHLSL::AST::ConstantExpression::visit const): (WebCore::WHLSL::AST::ConstantExpression::visit): Modules/webgpu/WHLSL/AST/WHLSLConstantExpression.h:.No new tests because there is no behavior change. To guard that with an ASSERT(is(bar)) because the downcast() call will If the code is going to unconditionally downcast(bar), there's no need Reviewed by Dean Jackson, Saam Barati, and Robin Morisset. Remove unnecessary ASSERT()s and clean up visitor lambdas (-):ġ0:45 PM Changeset in webkit by edits in trunk/Source/WebCore (eventPressedMouseButtonsSwizzlerForViewAndEvent): DumpRenderTree/mac/EventSendingController.mm:.Which lets us use the default implementation and correctly returns an NSScroller in a sub-frame. We didn't detect an NSScroller in a sub-frame due to WebHTMLView's implementation of. REGRESSION ( r246103) Layout Test scrollbars/scrollbar-iframe-click-does-not-blur-content.html is timing outĮxpose a private method that we need to use from DumpRenderTree. inspector/formatting/resources/css-tests/wrapping-expected.css:ġ1:50 PM Changeset in webkit by edits in trunk.inspector/formatting/resources/css-tests/wrapping.css:.inspector/formatting/resources/css-tests/selectors-expected.css:.inspector/formatting/resources/css-tests/selectors.css:.inspector/formatting/resources/css-tests/media-query-expected.css:.inspector/formatting/resources/css-tests/media-query.css:.inspector/formatting/resources/css-tests/keyframes-expected.css:.inspector/formatting/resources/css-tests/keyframes.css:.Memoize the currentLine so it's less expensive to re-fetch.
#WEBKIT STICKY UPDATE#
Update lastTokenWasNewline and lastTokenWasWhitespace when removing newlines/whitespace. (FormatterContentBuilder.prototype._append): (FormatterContentBuilder.prototype._popFormattedContent):