Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/util/util_types_float4.h
| Show All 28 Lines | |||||
| struct ccl_try_align(16) float4 { | struct ccl_try_align(16) float4 { | ||||
| #ifdef __KERNEL_SSE__ | #ifdef __KERNEL_SSE__ | ||||
| union { | union { | ||||
| __m128 m128; | __m128 m128; | ||||
| struct { float x, y, z, w; }; | struct { float x, y, z, w; }; | ||||
| }; | }; | ||||
| __forceinline float4(); | __forceinline float4(); | ||||
| __forceinline float4(const float4& a); | |||||
| __forceinline explicit float4(const __m128& a); | __forceinline explicit float4(const __m128& a); | ||||
| __forceinline operator const __m128&(void) const; | __forceinline operator const __m128&(void) const; | ||||
| __forceinline operator __m128&(void); | __forceinline operator __m128&(void); | ||||
| __forceinline float4& operator =(const float4& a); | __forceinline float4& operator =(const float4& a); | ||||
| #else /* __KERNEL_SSE__ */ | #else /* __KERNEL_SSE__ */ | ||||
| Show All 16 Lines | |||||