[webkit-changes] [WebKit/WebKit] 2353db: [WebGPU] drawIndexed can bypass validation for rep...
mwyrzykowski
noreply at github.com
Mon Jun 3 22:14:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2353dbc2aa41560d2d3eaacebd207207c43de53c
https://github.com/WebKit/WebKit/commit/2353dbc2aa41560d2d3eaacebd207207c43de53c
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M Source/WebGPU/WebGPU/RenderBundleEncoder.mm
M Source/WebGPU/WebGPU/RenderPassEncoder.h
M Source/WebGPU/WebGPU/RenderPassEncoder.mm
Log Message:
-----------
[WebGPU] drawIndexed can bypass validation for repeated draw calls
rdar://128997264
https://bugs.webkit.org/show_bug.cgi?id=274900
Reviewed by Tadeu Zagallo.
Repeated out of bounds calls to RenderPassEncoder::drawIndexed would
not bounds check.
* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::RenderBundleEncoder::drawIndexed):
* Source/WebGPU/WebGPU/RenderPassEncoder.h:
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::clampIndexBufferToValidValues):
Canonical link: https://commits.webkit.org/279687@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list