DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

packoffset documentation is incorrect

Open davidcook-msft opened this issue 2 years ago • 0 comments

Description There is incorrect information in the packoffset documentation: https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-variable-syntax https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-variable-packoffset

Since this behavior was addressed in: https://github.com/microsoft/DirectXShaderCompiler/issues/3724

Update the documentation to represent the actual compiler behavior

Steps to Reproduce Read the documentation, then observe that that is not the compiler behavior

Actual Behavior The compiler errors when the documentation states it will not

Environment

  • DXC version: 1.8.2405
  • Host Operating System: All

davidcook-msft avatar Sep 10 '24 20:09 davidcook-msft