-
Notifications
You must be signed in to change notification settings - Fork 820
Open
Labels
Milestone
Description
Description
See title. This is necessary to support manual indexing through pointer arithmetic when the stored type itself contains a vk::BufferPointer. I don't think there should be any problems with it - afaik the stored address is always expected to be 64-bit.
Steps to Reproduce
https://godbolt.org/z/aTf8r4Wza
Actual Behavior
<source>:8:20: error: invalid application of 'sizeof' to non-numeric type 'vk::BufferPointer<int>'
intBuf.Get() = sizeof(vk::BufferPointer<int>);
Environment
- DXC version: trunk
- Host Operating System: Windows 11
devshgraphicsprogramming
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
New
Status
Triaged