commit | 2c4c3a10f47c7be432bcd4e00661be340fb226bb | [log] [tgz] |
---|---|---|
author | Yan,Shaobo <shaobo.yan@intel.com> | Tue Oct 15 17:10:03 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 15 17:10:03 2024 +0000 |
tree | 4f70febc4f05b3d41ad5d1203b59f9d385d698b0 | |
parent | 0a84be89ee841cb3d4cb28819aebaef6f95e8a48 [diff] |
Dawn native/vulkan: PipelineLayoutVk holds multiple VkPipelineLayouts PipelineLayoutVk holds a map with internal immediate data as key to store multiple VkPipelineLayouts. Delay VkPipelineLayout creation time to native pipeline initialization to know the internal immediate data from shader module. PipelineLayoutVk also holds creationInfo to avoid temp allocation for VkPipelineLayoutCreateInfo. Bug:chromium:42240537, chromium:366291600 Change-Id: Ib9726e7a17808628ab09f63e1b2327c9f418239c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/208734 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.