mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Roll third_party/webgpu-cts/ 0673bb68c..6d3a80420 (1 commit)
And unroll const-eval expression test loops on non-windows platforms, in an
attempt to avoid test timeouts on devices that perform poorly with constant array
indexing inside loops.
Regenerated:
- expectations.txt
- ts_sources.txt
- test_list.txt
- cache_list.txt
- resource_files.txt
- webtest .html files
0673bb68c2..6d3a80420d
- 6d3a80 Add flag to unroll const-eval loops
Created with './tools/run cts roll'
Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel
Include-Ci-Only-Tests: true
Change-Id: Ida17dbab3eeed1e30610af63d036c3d43ceafa68
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116292
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
f8abdc7aef
commit
33bfc98822
@@ -140,6 +140,14 @@ wrapPromiseWithHeartbeat(GPUShaderModule.prototype, 'compilationInfo');
|
||||
globalTestConfig.testHeartbeatCallback = sendHeartbeat;
|
||||
globalTestConfig.noRaceWithRejectOnTimeout = true;
|
||||
|
||||
// FXC is very slow to compile unrolled const-eval loops, where the metal shader
|
||||
// compiler (Intel GPU) is very slow to compile rolled loops. Intel drivers for
|
||||
// linux may also suffer the same performance issues, so unroll const-eval loops
|
||||
// if we're not running on Windows.
|
||||
if (navigator.userAgent.indexOf("Windows") !== -1) {
|
||||
globalTestConfig.unrollConstEvalLoops = true;
|
||||
}
|
||||
|
||||
async function runCtsTest(query, use_worker) {
|
||||
const workerEnabled = use_worker;
|
||||
const worker = workerEnabled ? new TestWorker(false) : undefined;
|
||||
@@ -208,9 +216,11 @@ function sendMessageTestHeartbeat() {
|
||||
}
|
||||
|
||||
function sendMessageTestStatus(status, jsDurationMs) {
|
||||
socket.send(JSON.stringify({'type': 'TEST_STATUS',
|
||||
'status': status,
|
||||
'js_duration_ms': jsDurationMs}));
|
||||
socket.send(JSON.stringify({
|
||||
'type': 'TEST_STATUS',
|
||||
'status': status,
|
||||
'js_duration_ms': jsDurationMs
|
||||
}));
|
||||
}
|
||||
|
||||
function sendMessageTestLog(logs) {
|
||||
|
||||
Reference in New Issue
Block a user