MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / load_texel_f32

Function load_texel_f32

Source/astcenc_image.cpp:80–86  ·  view source on GitHub ↗

* @brief Load a 32-bit float texel from a data array. * * @param data The data pointer. * @param base_offset The index offset to the start of the pixel. */

Source from the content-addressed store, hash-verified

78 * @param base_offset The index offset to the start of the pixel.
79 */
80static vfloat4 load_texel_f32(
81 const void* data,
82 size_t base_offset
83) {
84 const float* data32 = static_cast<const float*>(data);
85 return vfloat4(data32 + base_offset);
86}
87
88/**
89 * @brief Dummy no-op swizzle function.

Callers

nothing calls this directly

Calls 1

vfloat4Class · 0.70

Tested by

no test coverage detected