From 32b03b4f6f5760403dc3d4264fdb9ccdaa710a49 Mon Sep 17 00:00:00 2001 From: ohmaya Date: Fri, 14 Nov 2025 23:34:28 +0800 Subject: [PATCH 1/3] Update 0026-hlsl-long-vector-type.md The 2nd part is for StructuredBuffers instead of for ByteAddressBuffers. --- proposals/0026-hlsl-long-vector-type.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/0026-hlsl-long-vector-type.md b/proposals/0026-hlsl-long-vector-type.md index 54e81535..b2767534 100644 --- a/proposals/0026-hlsl-long-vector-type.md +++ b/proposals/0026-hlsl-long-vector-type.md @@ -131,7 +131,7 @@ in undefined behavior. StructuredBuffers with N-element vectors are declared using the template syntax with a long vector type as the template parameter. -N-element vectors are loaded and stored from ByteAddressBuffers using the templated load and store methods +N-element vectors are loaded and stored from StructuredBuffers using the templated load and store methods with the element index parameters. ```hlsl From 22fdd09b96d468eb7fedfa81dab7f64b9dc473a0 Mon Sep 17 00:00:00 2001 From: ohmaya Date: Sat, 15 Nov 2025 08:54:09 +0800 Subject: [PATCH 2/3] Update 0026-hlsl-long-vector-type.md StructuredBuffers uses the non-templated load and store methods. --- proposals/0026-hlsl-long-vector-type.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/0026-hlsl-long-vector-type.md b/proposals/0026-hlsl-long-vector-type.md index b2767534..6f0d4cec 100644 --- a/proposals/0026-hlsl-long-vector-type.md +++ b/proposals/0026-hlsl-long-vector-type.md @@ -131,7 +131,7 @@ in undefined behavior. StructuredBuffers with N-element vectors are declared using the template syntax with a long vector type as the template parameter. -N-element vectors are loaded and stored from StructuredBuffers using the templated load and store methods +N-element vectors are loaded and stored from StructuredBuffers using the non-templated load and store methods with the element index parameters. ```hlsl From b737cfa1dd97beeac4ac1706d25166e78ed4d05d Mon Sep 17 00:00:00 2001 From: ohmaya Date: Thu, 20 Nov 2025 21:42:13 +0800 Subject: [PATCH 3/3] Update proposals/0026-hlsl-long-vector-type.md Adding "subscript operators". Co-authored-by: Chris B --- proposals/0026-hlsl-long-vector-type.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proposals/0026-hlsl-long-vector-type.md b/proposals/0026-hlsl-long-vector-type.md index 6f0d4cec..149e6c9c 100644 --- a/proposals/0026-hlsl-long-vector-type.md +++ b/proposals/0026-hlsl-long-vector-type.md @@ -131,8 +131,8 @@ in undefined behavior. StructuredBuffers with N-element vectors are declared using the template syntax with a long vector type as the template parameter. -N-element vectors are loaded and stored from StructuredBuffers using the non-templated load and store methods -with the element index parameters. +N-element vectors are loaded and stored from StructuredBuffers using the load and store methods +or subscript operators with the element index parameters. ```hlsl RWStructuredBuffer< vector > myBuffer;