e9ee094d28
On D3D12, there is a limit of the number of texels in a buffer which is 1<<27. See D3D11_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP and the spec. This patch limits it according to the spec in case of D3D12 in MaxLimitTests.cpp. This fixes MaxLimitTests failure on Arm device. Bug: dawn:884 Change-Id: Ia14ebca92855ec7b7e8d81b7bd547108948da567 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133961 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Min Lee <lemi@microsoft.com> Kokoro: Kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
dawn | ||
tint | ||
Placeholder.cpp |