microsoft / microsoft/win32metadata

D3D12_SHADER_BYTECODE missing NativeArrayInfo

Open
#2,051 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.5k
Forks
149
Avg merge
5d 16h
Merged PRs (30d)
4

Description

```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.

Contributor guide

Open the contributing guide

Research direction

Start by locating the metadata declaration for D3D12_SHADER_BYTECODE and inspect the pShaderBytecode and BytecodeLength fields. Done means pShaderBytecode has NativeArrayInfoAttribute configured to use BytecodeLength as its length.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.