`D3D12_PIPELINE_STATE_STREAM_DESC`'s `pPipelineStateSubobjectStream` should probably be a `const` pointer
MarijnS95 opened this issue · 1 comments
MarijnS95 commented
https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_pipeline_state_stream_desc should be input-only data, and is more accurately described by taking const void *pPipelineStateSubobjectStream;
.
walbourn commented
For most of the history of Win32 APIs, structs don't use const void*
. I've seen them showing up in newer DirectML.h headers. I suspect an issue here is that d3d12 core platform headers are generated using MIDL which doesn't support this annotation.