dawn-cmake/src
Jiawei Shao a8ce0a434e Add validation on the creation of 4x Multisampled textures
This patch adds validations on the creation of the multisampled textures
with sampleCount == 4. The validations include:
1. Only accept 1 or 4 as valid value of sampleCount.
2. According to Vulkan SPEC, when sampleCount > 1:
- The value of mipLevelCount can only be 1
- We cannot create cube map or cube map array texture views on this
  texture.

BUG=dawn:56
TEST=dawn_unittests

Change-Id: Iac7cbe7cd7af16216b9185afd37a80eef0712f6b
Reviewed-on: https://dawn-review.googlesource.com/c/5160
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-03-04 01:31:38 +00:00
..
common Add more validations for input state 2019-02-22 15:08:03 +00:00
dawn_native Add validation on the creation of 4x Multisampled textures 2019-03-04 01:31:38 +00:00
dawn_wire KnownObject: Make it an error to request ID 0 2019-02-25 09:49:00 +00:00
fuzzers dawn: Remove semicolons. 2019-02-21 14:39:01 +00:00
include Implement wrapping IOSurfaces in dawn::Texture. 2019-03-01 12:01:18 +00:00
tests Add validation on the creation of 4x Multisampled textures 2019-03-04 01:31:38 +00:00
utils Remove RenderPassDescriptorBuilder 2019-02-27 09:21:56 +00:00