d3d12: Always create buffers as UAV-capable
Reviewed-by: Sil Vilerino <sivileri@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14294>
This commit is contained in:
parent
de4c38c3a7
commit
49cf325d82
|
@ -102,7 +102,7 @@ d3d12_bo_new(ID3D12Device *dev, uint64_t size, const pb_desc *pb_desc)
|
|||
res_desc.MipLevels = 1;
|
||||
res_desc.SampleDesc.Count = 1;
|
||||
res_desc.SampleDesc.Quality = 0;
|
||||
res_desc.Flags = D3D12_RESOURCE_FLAG_NONE;
|
||||
res_desc.Flags = D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS;
|
||||
res_desc.Layout = D3D12_TEXTURE_LAYOUT_ROW_MAJOR;
|
||||
|
||||
D3D12_HEAP_TYPE heap_type = D3D12_HEAP_TYPE_DEFAULT;
|
||||
|
|
Loading…
Reference in New Issue