mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-25 05:02:17 +00:00
This patch adds a validation to disallow declaraing combined textures and samplers in shaders. SPVC doesn't provide a way to extract the information of combined textures and samplers from shaders, so currently we cannot add the related validation when we use SPVC. BUG=dawn:423 TEST=dawn_unittests Change-Id: I81f05dc6adb57fbc981ee1a651e160c096315551 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/22000 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>