tint: Shuffle builtin test directories
mv test/tint/builtins/gen -> test/tint/builtins/gen/literal We're going to add another set of these for builtins that use 'var' for each argument. Change-Id: I1b4ad1495ddccd48232603db2205bf50af9e36b6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92320 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
This commit is contained in:
parent
b1d5bc8418
commit
eb29f81883
|
@ -1,7 +1,7 @@
|
|||
{{- /*
|
||||
--------------------------------------------------------------------------------
|
||||
Template file for use with tools/builtin-gen to generate the wgsl files in the
|
||||
./gen/... subdirectories
|
||||
./literal/... subdirectories
|
||||
|
||||
See:
|
||||
* tools/cmd/intrinsic-gen/gen for structures used by this template
|
||||
|
@ -16,9 +16,9 @@ See:
|
|||
{{- 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
|
||||
{{- /* Generate a ./literal/<function>/<permuataion-hash>.wgsl file using
|
||||
the Permutation macro defined below */ -}}
|
||||
{{- $file := printf "./gen/%v/%v.wgsl" .Intrinsic.Name .Hash -}}
|
||||
{{- $file := printf "./literal/%v/%v.wgsl" .Intrinsic.Name .Hash -}}
|
||||
{{- $content := Eval "Permutation" . -}}
|
||||
{{- WriteFile $file $content -}}
|
||||
{{- end }}
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
|
@ -15,7 +15,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// File generated by tools/intrinsic-gen
|
||||
// using the template:
|
||||
// test/tint/builtins/builtins.wgsl.tmpl
|
||||
// test/tint/builtins/gen/gen.wgsl.tmpl
|
||||
// and the intrinsic defintion file:
|
||||
// src/tint/intrinsics.def
|
||||
//
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue