Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the buffer location of the root parameter at the given index on the compute root signature set via ID3D12GraphicsCommandList::SetComputeRootConstantBufferView, SetComputeRootShaderResourceView, or SetComputeRootUnorderedAccessView.
Syntax
HRESULT GetComputeRootDescriptor(
UINT32 rootParameterIndex,
D3D12_GPU_VIRTUAL_ADDRESS * pGpuVa);
Parameters
rootParameterIndex
No description provided.
pGpuVa
No description provided.
Returns
Returns failure if the index is out of bounds, if no compute root signature is bound, or if not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario).