[FIX]: Window Build Fix

This commit is contained in:
2026-01-26 22:55:39 +05:30
parent fac013d63f
commit 21a474b6f9
75 changed files with 5430 additions and 4643 deletions

View File

@ -20,7 +20,8 @@ using namespace IACore;
IAT_BEGIN_BLOCK(Core, FloatVec4)
auto test_float_arithmetic() -> bool {
auto test_float_arithmetic() -> bool
{
FloatVec4 v1(10.0f, 20.0f, 30.0f, 40.0f);
FloatVec4 v2(2.0f, 4.0f, 5.0f, 8.0f);
@ -39,7 +40,8 @@ auto test_float_arithmetic() -> bool {
return true;
}
auto test_math_helpers() -> bool {
auto test_math_helpers() -> bool
{
alignas(16) f32 res[4];
FloatVec4 v_sq(4.0f, 9.0f, 16.0f, 25.0f);
@ -61,7 +63,8 @@ auto test_math_helpers() -> bool {
return true;
}
auto test_approx_math() -> bool {
auto test_approx_math() -> bool
{
alignas(16) f32 res[4];
FloatVec4 v(16.0f, 25.0f, 100.0f, 1.0f);
@ -73,7 +76,8 @@ auto test_approx_math() -> bool {
return true;
}
auto test_linear_algebra() -> bool {
auto test_linear_algebra() -> bool
{
FloatVec4 v1(1.0f, 2.0f, 3.0f, 4.0f);
FloatVec4 v2(1.0f, 0.0f, 1.0f, 0.0f);

View File

@ -20,7 +20,8 @@ using namespace IACore;
IAT_BEGIN_BLOCK(Core, IntVec4)
auto test_constructors() -> bool {
auto test_constructors() -> bool
{
IntVec4 v_broadcast(10);
alignas(16) u32 store_buf[4];
v_broadcast.store(store_buf);
@ -41,7 +42,8 @@ auto test_constructors() -> bool {
return true;
}
auto test_arithmetic() -> bool {
auto test_arithmetic() -> bool
{
const IntVec4 v1(10, 20, 30, 40);
const IntVec4 v2(1, 2, 3, 4);
@ -64,9 +66,10 @@ auto test_arithmetic() -> bool {
return true;
}
auto test_bitwise() -> bool {
auto test_bitwise() -> bool
{
const IntVec4 v_all_ones(0xFFFFFFFF);
const IntVec4 v_zero((u32)0);
const IntVec4 v_zero((u32) 0);
const IntVec4 v_pattern(0xAAAAAAAA);
alignas(16) u32 res[4];
@ -94,7 +97,8 @@ auto test_bitwise() -> bool {
return true;
}
auto test_saturation() -> bool {
auto test_saturation() -> bool
{
const u32 max = 0xFFFFFFFF;
const IntVec4 v_high(max - 10);
const IntVec4 v_add(20);
@ -112,7 +116,8 @@ auto test_saturation() -> bool {
return true;
}
auto test_advanced_ops() -> bool {
auto test_advanced_ops() -> bool
{
const IntVec4 v(0, 50, 100, 150);
alignas(16) u32 res[4];