diff --git a/proposals/0010-vk-buffer-ref.md b/proposals/0010-vk-buffer-ref.md index d6e5a493..1058c928 100644 --- a/proposals/0010-vk-buffer-ref.md +++ b/proposals/0010-vk-buffer-ref.md @@ -175,6 +175,10 @@ A vk::BufferPointer can otherwise be used whereever the HLSL spec does not other Applying HLSL semantic annotations to objects of type vk::BufferPointer is disallowed. +### Buffer Pointers and Type Punning Through Unions + +While buffer pointer types are allowed in unions, type punning with buffer pointer types is disallowed as it is with all other types in HLSL. Specifically, when a member of a union is defined, all other members become undefined, no matter the types. + ## SPIR-V Appendices ### Appendix A: SPIR-V for RawBufferLoad