From 6b3095758679a7699dc26d1af5521b65ace2cc83 Mon Sep 17 00:00:00 2001 From: cheneym2 Date: Thu, 2 May 2024 19:01:43 -0400 Subject: Slang: update pointer related documentation (#4088) Slang does have some support for pointers. Remove an outdated comment stating the contratry, and update the section that describes pointer support to also list some relevant limitations. Fixes #3970 Co-authored-by: Yong He --- docs/user-guide/02-conventional-features.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs/user-guide/02-conventional-features.md') diff --git a/docs/user-guide/02-conventional-features.md b/docs/user-guide/02-conventional-features.md index e50debd10..b748a72c0 100644 --- a/docs/user-guide/02-conventional-features.md +++ b/docs/user-guide/02-conventional-features.md @@ -18,8 +18,7 @@ Types Slang supports conventional shading language types including scalars, vectors, matrices, arrays, structures, enumerations, and resources. > #### Note #### -> Slang does not currently support pointer types as in C/C++. -> Pointers cannot be implemented robustly and completely on many of the target platforms Slang currently supports. +> Slang has limited support for pointers when targeting platforms with native pointer support, including SPIRV, C++, and CUDA. ### Scalar Types -- cgit v1.2.3