$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
simd_utils.h
Go to the documentation of this file.
1 #ifndef SIMD_UTILS_H
2 #define SIMD_UTILS_H
3 
4 #include <stddef.h>
5 #include <stdint.h>
6 
21 void convert_float_to_half_simd(const float* src, uint16_t* dst, size_t count);
22 
23 #endif /* SIMD_UTILS_H */
void convert_float_to_half_simd(const float *src, uint16_t *dst, size_t count)
Converts an array of 32-bit floats to 16-bit half-floats using SIMD (AVX2/F16C).
Definition: simd_utils.c:130