diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-07-19 10:42:50 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-19 15:25:09 +0000 |
commit | 925f52d03b731c49c1a2b52c6ced53169a1df669 (patch) | |
tree | 23a8f953bb17ec2cfce6cd37aad520713c1330bb /src/sksl/SkSLSPIRVCodeGenerator.h | |
parent | fc26f3ca5f8f01b4ef47fd7ced4c589205e45ae8 (diff) |
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>
Diffstat (limited to 'src/sksl/SkSLSPIRVCodeGenerator.h')
-rw-r--r-- | src/sksl/SkSLSPIRVCodeGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sksl/SkSLSPIRVCodeGenerator.h b/src/sksl/SkSLSPIRVCodeGenerator.h index 1ce9d0c3fa..4500abbff1 100644 --- a/src/sksl/SkSLSPIRVCodeGenerator.h +++ b/src/sksl/SkSLSPIRVCodeGenerator.h @@ -153,6 +153,8 @@ private: 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. |