You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add:
| Returns an unsigned 32- or 64-bit integer obtained |
| int packInt2x16 (i16vec2 v) | by packing the components of a two- or |
| int64_t packInt4x16 (i16vec4 v) | four-component 16-bit signed or unsigned integer |
| uint packUint2x16(u16vec2 v) | vector, respectively. The first vector component |
| uint64_t packUint4x16(u16vec4 v) | specifies the 16 least significant bits; the |
| | last component specifies the 16 most significant |
| | bits. |
+-----------------------------------+------------------------------------------------------+
| | Returns a signed or unsigned integer vector built |
| i16vec2 unpackInt2x16 (int v)| from a 32- or 64-bit signed or unsigned integer |
| i16vec4 unpackInt4x16 (int64_t v)| scalar, respectively. The first component of the |
| u16vec2 unpackUint2x16(uint v)| vector contains the 16 least significant bits of the |
| u16vec4 unpackUint4x16(uint64_t v)| input; the last component specifies the 16 most |
| | significant bits. |
Here is new ARB int64 functions.
https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_gpu_shader_int64.txt
Also AMD have:
https://khronos.org/registry/OpenGL/extensions/AMD/AMD_gpu_shader_int16.txt
https://khronos.org/registry/OpenGL/extensions/AMD/AMD_gpu_shader_half_float.txt
I want to propose to add packing functions, and operations for int64 vectors and numbers.
The text was updated successfully, but these errors were encountered: