d3d: match maxStorageBufferBindingSize and maxBufferSize
Fixed: dawn:1751 Change-Id: I77303bf23a9a64e38acc72d9f039097b4d901306 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/131280 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Austin Eng <enga@chromium.org> Kokoro: Austin Eng <enga@chromium.org>
This commit is contained in:
parent
42b688bcff
commit
249f8d5aa2
|
@ -181,7 +181,7 @@ MaybeError PhysicalDevice::InitializeSupportedLimitsImpl(CombinedLimits* limits)
|
|||
// Max number of "constants" where each constant is a 16-byte float4
|
||||
limits->v1.maxUniformBufferBindingSize = D3D11_REQ_CONSTANT_BUFFER_ELEMENT_COUNT * 16;
|
||||
// D3D11 has no documented limit on the size of a storage buffer binding.
|
||||
limits->v1.maxStorageBufferBindingSize = 4294967295;
|
||||
limits->v1.maxStorageBufferBindingSize = kAssumedMaxBufferSize;
|
||||
// D3D11 has no documented limit on the buffer size.
|
||||
limits->v1.maxBufferSize = kAssumedMaxBufferSize;
|
||||
|
||||
|
|
|
@ -305,7 +305,7 @@ MaybeError PhysicalDevice::InitializeSupportedLimitsImpl(CombinedLimits* limits)
|
|||
// Max number of "constants" where each constant is a 16-byte float4
|
||||
limits->v1.maxUniformBufferBindingSize = D3D12_REQ_CONSTANT_BUFFER_ELEMENT_COUNT * 16;
|
||||
// D3D12 has no documented limit on the size of a storage buffer binding.
|
||||
limits->v1.maxStorageBufferBindingSize = 4294967295;
|
||||
limits->v1.maxStorageBufferBindingSize = kAssumedMaxBufferSize;
|
||||
// D3D12 has no documented limit on the buffer size.
|
||||
limits->v1.maxBufferSize = kAssumedMaxBufferSize;
|
||||
|
||||
|
|
Loading…
Reference in New Issue