Yunchao He 54d0d43e58 Add texture creation validation rules for 3D texture
In order to support 3D texture, new validation rules are added:
- to say that multisample 3D texture is not supported.
- to distinguish 3D texture from 2D array texture via texture type,
  and its impact on max values of size.depth, mipmap levels,
  array layer count, etc.
- to say that 3D compressed texture is not supported.

This change also adds validation tests for zero-sized textures,
in addition to validation tests for the validation rules above.

Bug: dawn:558
Change-Id: Ib7d398fdab49a702eaa798f6353639d3721747e6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/34922
Commit-Queue: Yunchao He <yunchao.he@intel.com>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-01-28 20:37:01 +00:00
..
2021-01-05 02:39:18 +00:00
2020-06-19 21:39:23 +00:00
2020-04-10 19:04:42 +00:00
2020-12-08 16:32:34 +00:00
2021-01-13 17:54:37 +00:00
2020-06-11 00:34:14 +00:00
2020-04-20 17:36:22 +00:00
2021-01-27 21:27:54 +00:00
2021-01-28 15:02:35 +00:00
2020-06-11 00:34:14 +00:00
2021-01-28 15:02:35 +00:00