mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 19:31:25 +00:00
Fix a bug about mipmap level in SamplerFilterAnisotropicTests. Sizes of the 3 miplevels should be 4,2,1. The old code allocates 8,4,2 (which don't have a 1x1 level) Expected rendered pixel values have to change. The render result now fits the webgl demo at https://jsfiddle.net/t8k7c95o/5/ (Thanks Kai for the enlarged pixelated canvas) ComputeBoids.cpp and DawnTest.cpp change is due to git cl format Bug: dawn:568 Change-Id: I9069732208a16be285be13b8cd1ab19b211995a6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/37380 Commit-Queue: Shrek Shao <shrekshao@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>