We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
D3D12_SHADER_BYTECODE (documented at https://learn.microsoft.com/windows/win32/api/d3d12/ns-d3d12-d3d12_shader_bytecode) is missing NativeArrayInfoAttribute on pShaderBytecode. It should use BytecodeLength as a length.
D3D12_SHADER_BYTECODE
NativeArrayInfoAttribute
pShaderBytecode
BytecodeLength
The text was updated successfully, but these errors were encountered:
It already has some form of annotation in IDL, _Field_size_bytes_full_:
_Field_size_bytes_full_
win32metadata/generation/WinSDK/RecompiledIdlHeaders/um/d3d12.idl
Lines 847 to 851 in de9da38
But that doesn't seem to be parsed, as ILSpy for a Windows.Win32.winmd generated from that file shows:
Windows.Win32.winmd
[Documentation("https://learn.microsoft.com/windows/win32/api/d3d12/ns-d3d12-d3d12_shader_bytecode")] public struct D3D12_SHADER_BYTECODE { [Const] public unsafe void* pShaderBytecode; public UIntPtr BytecodeLength; }
Perhaps the tooling needs to be updated to support this source attribute.
Alternatively we could have something manual in emitter.settings.rsp:
emitter.settings.rsp
D3D12_SHADER_BYTECODE::pShaderBytecode=[NativeArrayInfo(CountParamIndex = 1)]
Sorry, something went wrong.
No branches or pull requests
D3D12_SHADER_BYTECODE
(documented at https://learn.microsoft.com/windows/win32/api/d3d12/ns-d3d12-d3d12_shader_bytecode) is missingNativeArrayInfoAttribute
onpShaderBytecode
. It should useBytecodeLength
as a length.The text was updated successfully, but these errors were encountered: