mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 10:24:10 +01:00
[d3d11] Initialize buffer flags in D3D11UnorderedAccessView::GetDescFromResource().
This commit is contained in:
parent
309284e7dc
commit
8b6ac527b4
@ -214,6 +214,7 @@ namespace dxvk {
|
||||
pDesc->ViewDimension = D3D11_UAV_DIMENSION_BUFFER;
|
||||
pDesc->Buffer.FirstElement = 0;
|
||||
pDesc->Buffer.NumElements = bufferDesc.ByteWidth / bufferDesc.StructureByteStride;
|
||||
pDesc->Buffer.Flags = 0;
|
||||
return S_OK;
|
||||
}
|
||||
} return E_INVALIDARG;
|
||||
|
Loading…
Reference in New Issue
Block a user