Bitwise SkSL

78 views
Skip to first unread message

Shawn Riordan

unread,
Aug 30, 2022, 3:56:16 PM8/30/22
to skia-discuss
Any plans to add bitwise operators to SkSL?
(AND, OR, XOR, LEFT_SHIFT, RIGHT_SHIFT, etc...)

Brian Osman

unread,
Aug 30, 2022, 4:04:16 PM8/30/22
to skia-d...@googlegroups.com
Eventually, yes, we'd like to offer those - as part of an "ES3" feature bundle. (Bitwise operations were not part of the GLSL ES 1.0 specification that current SkSL is based on). There's no real time frame for this work though - I've done some very early work on it, but there are quite a few dependent issues that need to be cleared up first.

On Tue, Aug 30, 2022 at 3:56 PM 'Shawn Riordan' via skia-discuss <skia-d...@googlegroups.com> wrote:
Any plans to add bitwise operators to SkSL?
(AND, OR, XOR, LEFT_SHIFT, RIGHT_SHIFT, etc...)

--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/e3ac30c5-8f52-4c0f-b524-f898d0fa0ba1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages