@@ -459,27 +459,27 @@ void asuint(double4, out uint4, out uint4);
459459
460460#elif __is_target_arch(spirv)
461461
462- void asuint (double4 D, out uint4 lowbits, out uint4 highbits) {
462+ static inline void asuint (double4 D, out uint4 lowbits, out uint4 highbits) {
463463 uint4 bottom = __detail::bit_cast<uint4>(D.xy );
464464 uint4 top = __detail::bit_cast<uint4>(D.zw );
465465 lowbits = uint4 (bottom.x , bottom.z , top.x , top.z );
466466 highbits = uint4 (bottom.y , bottom.w , top.y , top.w );
467467}
468468
469- void asuint (double3 D, out uint3 lowbits, out uint3 highbits) {
469+ static inline void asuint (double3 D, out uint3 lowbits, out uint3 highbits) {
470470 uint4 bottom = __detail::bit_cast<uint4>(D.xy );
471471 uint2 top = __detail::bit_cast<uint2>(D.z );
472472 lowbits = uint3 (bottom.x , bottom.z , top.x );
473473 highbits = uint3 (bottom.y , bottom.w , top.y );
474474}
475475
476- void asuint (double2 D, out uint2 lowbits, out uint2 highbits) {
476+ static inline void asuint (double2 D, out uint2 lowbits, out uint2 highbits) {
477477 uint4 bottom = __detail::bit_cast<uint4>(D.xy );
478478 lowbits = uint2 (bottom.x , bottom.z );
479479 highbits = uint2 (bottom.y , bottom.w );
480480}
481481
482- void asuint (double D, out uint lowbits, out uint highbits) {
482+ static inline void asuint (double D, out uint lowbits, out uint highbits) {
483483 uint2 bottom = __detail::bit_cast<uint2>(D);
484484 lowbits = uint (bottom.x );
485485 highbits = uint (bottom.y );
0 commit comments