commit | 925f52d03b731c49c1a2b52c6ced53169a1df669 | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Wed Jul 19 10:42:50 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jul 19 15:25:09 2017 +0000 |
tree | 23a8f953bb17ec2cfce6cd37aad520713c1330bb | |
parent | fc26f3ca5f8f01b4ef47fd7ced4c589205e45ae8 [diff] [blame] |
fixed SPIR-V int->uint conversion Bug: skia: Change-Id: I31c035ac5839d60521ee9d8f73c879776ef5d22d Reviewed-on: https://skia-review.googlesource.com/24621 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/src/sksl/SkSLSPIRVCodeGenerator.h b/src/sksl/SkSLSPIRVCodeGenerator.h index 1ce9d0c..4500abb 100644 --- a/src/sksl/SkSLSPIRVCodeGenerator.h +++ b/src/sksl/SkSLSPIRVCodeGenerator.h
@@ -153,6 +153,8 @@ SpvId writeIntConstructor(const Constructor& c, OutputStream& out); + SpvId writeUIntConstructor(const Constructor& c, OutputStream& out); + /** * Writes a matrix with the diagonal entries all equal to the provided expression, and all other * entries equal to zero.