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:
Ben Clayton 2022-06-01 19:49:50 +00:00 committed by Dawn LUCI CQ
parent b1d5bc8418
commit eb29f81883
4545 changed files with 1422 additions and 1320 deletions

View File

@ -1,7 +1,7 @@
{{- /* {{- /*
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Template file for use with tools/builtin-gen to generate the wgsl files in the Template file for use with tools/builtin-gen to generate the wgsl files in the
./gen/... subdirectories ./literal/... subdirectories
See: See:
* tools/cmd/intrinsic-gen/gen for structures used by this template * 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"))}} {{- if not (or (eq .Name "smoothStep") (eq .Name "dot4I8Packed") (eq .Name "dot4U8Packed"))}}
{{- range .Overloads -}} {{- range .Overloads -}}
{{- range Permute . -}} {{- 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 */ -}} 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" . -}} {{- $content := Eval "Permutation" . -}}
{{- WriteFile $file $content -}} {{- WriteFile $file $content -}}
{{- end }} {{- end }}

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

View File

@ -15,7 +15,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/intrinsic-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/gen/gen.wgsl.tmpl
// and the intrinsic defintion file: // and the intrinsic defintion file:
// src/tint/intrinsics.def // src/tint/intrinsics.def
// //

Some files were not shown because too many files have changed in this diff Show More