Yunchao He 0325e4503b Add more constants for max texture sizes
Currently we only implemented 2D and 2DArray texture. kMaxTextureSize
is actually for 2D texture only. This patch adds a few more constants
for texture size for 1D and 3D textures, and changes kMaxTextureSize
to kMaxTextureDimension2D.

Bug: dawn:558

Change-Id: I9088dd7c060dc096a65abea37c7fb01f760524e9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/36540
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Yunchao He <yunchao.he@intel.com>
2021-01-11 18:04:12 +00:00
..
2021-01-11 08:20:02 +00:00
2018-07-18 22:54:06 +02:00
2020-07-08 18:50:30 +00:00
2021-01-05 07:40:48 +00:00
2020-07-10 22:58:48 +00:00
2020-07-10 22:58:48 +00:00
2020-07-08 18:50:30 +00:00
2020-07-08 18:50:30 +00:00
2020-06-17 22:35:19 +00:00
2019-12-06 18:21:39 +00:00
2019-12-06 18:21:39 +00:00
2020-09-17 23:30:40 +00:00
2020-06-17 22:35:19 +00:00
2020-07-08 18:50:30 +00:00