Skip to content

Bitwise operators for i/uvec #135

Closed
@rmccampbell

Description

@rmccampbell

GLSL and the C++ glm library both support bitwise operators (&, |, ^, <<, >>) on ivecs and uvecs. They may not have very common use cases but they can be used for implementing hash functions, for example (see e.g. https://www.shadertoy.com/view/XlXcW4).

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions