mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
tint: Support dot4I8Packed and dot4U8Packed in sem
This patch adds the support of dot4I8Packed and dot4U8Packed in semantics under the extension "chromium_experimental_dp4a". Bug: tint:1497 Test: tint_unittests Change-Id: I659172fcb8953ba13b49664c6c9ad75724ff5957 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88962 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
4b6d3f4346
commit
6c9e475211
@@ -9,10 +9,11 @@ See:
|
||||
--------------------------------------------------------------------------------
|
||||
*/ -}}
|
||||
|
||||
{{- /* For each permutation of each overload of each builtin... */ -}}
|
||||
{{- /* For each permutation of each overload of each function... */ -}}
|
||||
{{- range .Sem.Builtins -}}
|
||||
{{- /* TODO(crbug.com/tint/1483): Remove the bodge below after smoothStep is removed from builtins.def */}}
|
||||
{{- if not (eq .Name "smoothStep") }}
|
||||
{{- /* TODO(crbug.com/tint/1483): Remove the bodge below after smoothStep is removed from intrinsics.def */}}
|
||||
{{- /* TODO(crbug.com/tint/1536): Remove the bodge below after we support [[extension("extension_name")]] in intrinsics.def */}}
|
||||
{{- if not (or (eq .Name "smoothStep") (eq .Name "dot4I8Packed") (eq .Name "dot4U8Packed"))}}
|
||||
{{- range .Overloads -}}
|
||||
{{- range Permute . -}}
|
||||
{{- /* Generate a ./gen/<function>/<permuataion-hash>.wgsl file using
|
||||
|
||||
Reference in New Issue
Block a user