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:
parent
f8abdc7aef
commit
33bfc98822
2
DEPS
2
DEPS
|
@ -158,7 +158,7 @@ deps = {
|
|||
|
||||
# WebGPU CTS - not used directly by Dawn, only transitively by Chromium.
|
||||
'third_party/webgpu-cts': {
|
||||
'url': '{chromium_git}/external/github.com/gpuweb/cts@0673bb68c214c0a6c56d00b30e6600dcc9f02b93',
|
||||
'url': '{chromium_git}/external/github.com/gpuweb/cts@6d3a80420d1b8493631311267a30a71098a01258',
|
||||
'condition': 'build_with_chromium',
|
||||
},
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
# results: [ Failure RetryOnFailure Skip Slow ]
|
||||
# END TAG HEADER
|
||||
|
||||
# Last rolled: 2023-01-04 11:59:09PM
|
||||
# Last rolled: 2023-01-05 05:47:34PM
|
||||
|
||||
################################################################################
|
||||
# webgpu:api,operation,resource_init,texture_zero:uninitialized_texture_is_zero
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue