From 5bc7eb58f7410d036db0bd519d8bdf48c194c4a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= Date: Sat, 23 Dec 2023 12:19:58 +0000 Subject: [PATCH] Fix compile error with template incantation --- include/hlsl++_vector_double_type.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/hlsl++_vector_double_type.h b/include/hlsl++_vector_double_type.h index 45968f5..586e0ed 100644 --- a/include/hlsl++_vector_double_type.h +++ b/include/hlsl++_vector_double_type.h @@ -384,9 +384,9 @@ namespace hlslpp hlslpp_inline double3(const dswizzle3& s) { #if defined(HLSLPP_SIMD_REGISTER_FLOAT8) - dswizzle3::swizzle(s.vec, vec); + dswizzle3::template swizzle(s.vec, vec); #else - dswizzle3::swizzle(s.vec[0], s.vec[1], vec0, vec1); + dswizzle3::template swizzle(s.vec[0], s.vec[1], vec0, vec1); #endif } @@ -530,9 +530,9 @@ namespace hlslpp hlslpp_inline double4(const dswizzle4& s) { #if defined(HLSLPP_SIMD_REGISTER_FLOAT8) - dswizzle4::swizzle(s.vec, vec); + dswizzle4::template swizzle(s.vec, vec); #else - dswizzle4::swizzle(s.vec[0], s.vec[1], vec[0], vec[1]); + dswizzle4::template swizzle(s.vec[0], s.vec[1], vec[0], vec[1]); #endif }