-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Description
I've encountered an issue where I'm unable to tag a resource without providing a command list. The resource is marked as valid until present and is already in the prefer (D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE) state.
Trying to tag this resource with a nullptr passed as a command list results in XEFG_SWAPCHAIN_RESULT_ERROR_INVALID_ARGUMENT despite the header file saying pCmdList is optional for my case.
xess/inc/xess_fg/xefg_swapchain_d3d12.h
Lines 194 to 196 in c159ef4
| * @param pCmdList Optional command list utilized to manage the resource | |
| * lifetime. It is only required if the resource is not valid until the next | |
| * present call. |
Doing the sin of passing this (ID3D12GraphicsCommandList*) 1 does get around this issue and the resource seems to be successfully tagged.
I would like to get some clarification on when exactly command list is optional.
Metadata
Metadata
Assignees
Labels
No labels