summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorsricker-nvidia <115114531+sricker-nvidia@users.noreply.github.com>2025-04-19 04:33:27 -0700
committerGitHub <noreply@github.com>2025-04-19 11:33:27 +0000
commit043278a527ab5744674417a08d924c67a60a486b (patch)
tree19c3ead87def94f2d418926d5f15b9eab1ced440 /docs
parent6bfabfee317887e678eed9cd6768df2ffd3b9704 (diff)
Implement 64bit countbits intrinsic (#6433) (#6845)
Change modifies the countbits intrinsic to use generics in order to support 64bit countbits on select platforms where this is supported. On platforms where this is not natively supported, we emulate by converting the 64-bit type into a uint2 (metal and spir-v). This should align with the implementation of other uint64_t intrinsics such as abs, min, max and clamp. Added new countbits64 test to verify changes. Updated documentation for 64bit-type-support.html
Diffstat (limited to 'docs')
-rw-r--r--docs/64bit-type-support.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/64bit-type-support.md b/docs/64bit-type-support.md
index 15faccd86..5f54f6601 100644
--- a/docs/64bit-type-support.md
+++ b/docs/64bit-type-support.md
@@ -147,7 +147,7 @@ D3D12 | FXC/DXBC | No | No | 2
2) uint64_t support requires https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/hlsl-shader-model-6-0-features-for-direct3d-12, so DXBC is not a target.
The intrinsics available on `uint64_t` type are `abs`, `min`, `max`, `clamp` and `countbits`.
-The intrinsics available on `uint64_t` type are `abs`, `min`, `max` and `clamp`.
+The intrinsics available on `int64_t` type are `abs`, `min`, `max`, `clamp` and `countbits`.
GLSL
====