You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce, write some crappy code that crashes the GPU driver. Try to retrieve data using ID3D12DeviceRemovedExtendedData. GetAutoBreadcrumbsOutput always produces a structure with NULL head node. This is because the __MarshalFrom method is delegated to the head node's __MarshalFrom method, but in the default construction this is always null, so no marshalling ever occurs.
This affects ID3D12DeviceRemovedExtendedData1::GetAutoBreadcrumbsOutput1 as well.
I also note that usually there is a direct property getter in these cases, for example the options structs on ID3D12Device, but there doesn't seem to be one in the DRED interfaces. It's not really important unless these getters are meant to be automated.
The text was updated successfully, but these errors were encountered:
To reproduce, write some crappy code that crashes the GPU driver. Try to retrieve data using ID3D12DeviceRemovedExtendedData. GetAutoBreadcrumbsOutput always produces a structure with NULL head node. This is because the __MarshalFrom method is delegated to the head node's __MarshalFrom method, but in the default construction this is always null, so no marshalling ever occurs.
This affects ID3D12DeviceRemovedExtendedData1::GetAutoBreadcrumbsOutput1 as well.
I also note that usually there is a direct property getter in these cases, for example the options structs on ID3D12Device, but there doesn't seem to be one in the DRED interfaces. It's not really important unless these getters are meant to be automated.
The text was updated successfully, but these errors were encountered: