mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-22 14:33:36 +00:00
This patch adds two missing checks on the render pass descriptor: 1. NaN is not allowed to be a value of clearColor and clearDepth. 2. Ensure only valid values can be used as loadOp and storeOp. This patch also adds the unit tests to ensure INFINITY is a valid value for both clearColor and clearDepth. BUG=dawn:299 Change-Id: Ia5500701ccd99abf488a80c87adb809521d7873f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14460 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>