This is an automated email from the git hooks/post-receive script.
pierov pushed a commit to branch geckoview-99.0.1-11.0-1 in repository tor-browser.
commit 1886fcdf19142f6fdd7379a0ee53413c68d18372 Author: Lee Salzman lsalzman@mozilla.com AuthorDate: Fri Mar 11 17:57:17 2022 +0000
Bug 1758736 - Fix debug assert in textureLinearUnpackedRG16. r=bradwerth a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D140824 --- gfx/wr/swgl/src/texture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gfx/wr/swgl/src/texture.h b/gfx/wr/swgl/src/texture.h index 3f7ed4a518e61..57d27ed05cc8d 100644 --- a/gfx/wr/swgl/src/texture.h +++ b/gfx/wr/swgl/src/texture.h @@ -734,7 +734,7 @@ vec4 textureLinearR16(S sampler, vec2 P) { // accommodate the sign bit, so only 15 bits of precision is left. template <typename S> static inline V8<int16_t> textureLinearUnpackedRG16(S sampler, ivec2 i) { - assert(sampler->format == TextureFormat::R16); + assert(sampler->format == TextureFormat::RG16);
ivec2 frac = i; i >>= 7;