Skip to content

Conversation

@s-perron
Copy link
Collaborator

This commit enables sizeof operator support for vk::BufferPointer types.
It updates SemaExpr to allow vk::BufferPointer in sizeof expressions,
and modifies ASTContext to correctly report the size and alignment of
vk::BufferPointer as equivalent to uint64_t.

Fixes #7998

@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

This commit enables sizeof operator support for vk::BufferPointer types.
It updates SemaExpr to allow vk::BufferPointer in sizeof expressions,
and modifies ASTContext to correctly report the size and alignment of
vk::BufferPointer as equivalent to uint64_t.

Fixes microsoft#7998
@s-perron s-perron merged commit 240d6a3 into microsoft:main Dec 29, 2025
12 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[SPIR-V] sizeof(vk::BufferPointer) is not supported

2 participants