vulkan: under toggle, disguise matrix multiply operands - Add dawn::native::vulkan::PhysicalDevice::IsMesa - Also add a method to check whether a Mesa driver version is strictly older than a given version number. - Add toggle vulkan_disguise_transpose_matrix_multiply defaulted to true for Mesa drivers before 27.0 - When active, turns on a Tint IR transform in the SPIR-V backend that rewrites the first matrix operand to a matrix multiply when either matrix is non-square. When both operands are square, then they also have the same size, and the bug does not occur. - Add end2end ShaderMatrixLoweringTest verifying the result of a matrix multiply with transposed arguments. Fixed: 591811902 Change-Id: Icafe086a5856ad124d73578552f442b96a6a6964 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/367196 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: Steven Perron <stevenperron@google.com> Reviewed-by: James Price <jrprice@google.com>
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.