D3D12: Ignore the debug warning for vertex buffer out-of-bounds
This adds D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_TOO_SMALL to the filter list of debug layer warning messages. BUG=dawn:1261 Change-Id: Ifd0fdf9eb8314a1b2a4f9cd7d248daf0a92a6c17 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/76920 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jie A Chen <jie.a.chen@intel.com>
This commit is contained in:
parent
979faed182
commit
0d415ff26c
|
@ -347,6 +347,10 @@ namespace dawn::native::d3d12 {
|
|||
// get rejected and generate a debug error. Then, we request 0 to get the allowed
|
||||
// allowed alignment.
|
||||
D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDALIGNMENT,
|
||||
|
||||
// WebGPU allows OOB vertex buffer access and relies on D3D12's robust buffer access
|
||||
// behavior.
|
||||
D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_TOO_SMALL,
|
||||
};
|
||||
|
||||
// Create a retrieval filter with a deny list to suppress messages.
|
||||
|
|
Loading…
Reference in New Issue