Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ARM-software/astc-encoder
/ swz
Method
swz
Source/astcenc_vecmathlib_none_4.h:145–148 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
143
* @brief Return a swizzled float 2.
144
*/
145
template <int l0, int l1> ASTCENC_SIMD_INLINE vfloat4 swz() const
146
{
147
return vfloat4(lane<l0>(), lane<l1>(), 0.0f, 0.0f);
148
}
149
150
/**
151
* @brief Return a swizzled float 3.
Callers
nothing calls this directly
Calls
1
vfloat4
Class · 0.70
Tested by
no test coverage detected