commit | 9a9a6925ac01bbcc904616c35ad6f7d2f8638dfa | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Thu Jun 30 10:31:47 2022 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Thu Jun 30 16:41:04 2022 +0000 |
tree | 15a11d02f53d0fd80887ddaa922d04b2d8d125f0 | |
parent | f6a84dfb53fb1cfe18fd8808061e6f3833a54096 [diff] |
Add unit test verifying int encoding of uniforms. Similar to floats, Metal expects short-int uniforms to be passed in 16 bits, but other layouts always use 32 bits for integers. Change-Id: I99575349d8547876ab6dab00f393158fbeea5385 Bug: skia:13478 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/554345 Reviewed-by: Michael Ludwig <michaelludwig@google.com> Commit-Queue: Michael Ludwig <michaelludwig@google.com> Auto-Submit: John Stiles <johnstiles@google.com>