dawn-cmake/src
Yan Shaobo 25fe51a2ae Suppress D3D12 Debug Layer warning D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_NOT_SET
In the end2end test BufferZeroInitTests.PaddingInitialized, the case use
drawIndex to access OOB vertexBuffer to see whether the padding part has
been set to zero. The case use
'renderPass.SetVertexBuffer(0, vertexBuffer, vertexBufferOffset)' to set
the vertexBuffer.

But when the vertexBufferOffset == vertexBufferSize, this SetVertexBuffer
won't create any vertex buffer view on D3D12 backend. And it turns out
input slot 0 has nothing.

This warning has been reported by win11 full debug layer. But this
behaviour is allowed by WebGPU.

So this CL suppress the warning
D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_NOT_SET in D3D12 adapter.

Bug: dawn:1255
Change-Id: I0dcf816b284cf7d7013f633186d010bae8fa6523
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/77640
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
2022-01-24 10:04:24 +00:00
..
common Implement upstream RequestAdapter 2022-01-12 23:08:35 +00:00
dawn Fix CMake build failures after recent changes 2021-09-21 01:07:35 +00:00
dawn_native Suppress D3D12 Debug Layer warning D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_NOT_SET 2022-01-24 10:04:24 +00:00
dawn_node Rename namespace dawn_native to dawn::native. 2022-01-12 09:17:35 +00:00
dawn_platform Rename namespace dawn_platform to dawn::platform. 2022-01-11 02:10:53 +00:00
dawn_wire Rename namespace dawn_wire to dawn::wire. 2022-01-11 09:57:33 +00:00
fuzzers Rename namespace dawn_native to dawn::native. 2022-01-12 09:17:35 +00:00
include Start introducing a "backend" for vulkan image wrapping tests 2022-01-13 13:11:17 +00:00
tests Validate buffer usage is non-zero in createBuffer 2022-01-22 05:57:25 +00:00
utils Rename namespace dawn_native to dawn::native. 2022-01-12 09:17:35 +00:00
Dummy.cpp Add missed file for the CMake build. 2020-02-07 23:46:30 +00:00