From 3192f34f57abd3245995342a0a5971ebbbbd945c Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 15 Apr 2024 23:28:28 -0700 Subject: [GFX] Fix d3d12 buffer view creation logic for StructuredBuffers. (#3954) --- source/core/slang-array.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/core') diff --git a/source/core/slang-array.h b/source/core/slang-array.h index f1ed4fe0d..d24ff0970 100644 --- a/source/core/slang-array.h +++ b/source/core/slang-array.h @@ -159,14 +159,14 @@ namespace Slang void insertArray(Array& arr, const T& val, TArgs... args) { arr.add(val); - insertArray(arr, args...); + insertArray(arr, args...); } template auto makeArray(TArgs ...args) -> Array::Type, sizeof...(args)> { Array::Type, Index(sizeof...(args))> rs; - insertArray(rs, args...); + insertArray::Type>(rs, args...); return rs; } -- cgit v1.2.3