Add ExternalTexture Type

Adds ExternalTexture type and basic unit tests in accordance with the
currently proposed WGSL specification.

Bug: dawn:728
Change-Id: I7a16a351ff098ba6df5b1e6305c390e3ca1c9d46
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/47180
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
Brandon Jones
2021-04-19 20:35:13 +00:00
committed by Commit Bot service account
parent cf28b5aafe
commit e94237dcdd
10 changed files with 187 additions and 0 deletions

View File

@@ -237,6 +237,7 @@ tint_unittests_source_set("tint_unittests_core_src") {
"../src/type/array_type_test.cc",
"../src/type/bool_type_test.cc",
"../src/type/depth_texture_type_test.cc",
"../src/type/external_texture_type_test.cc",
"../src/type/f32_type_test.cc",
"../src/type/i32_type_test.cc",
"../src/type/matrix_type_test.cc",