a8ce0a434e
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> |
||
---|---|---|
.. | ||
common | ||
dawn_native | ||
dawn_wire | ||
fuzzers | ||
include | ||
tests | ||
utils |