-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebGPU] newly added depth comparison tests are failing
https://bugs.webkit.org/show_bug.cgi?id=271330 <radar://125104840> Reviewed by Dan Glastonbury. The 1 / uint16::max() addition was known to be wrong, it should have been 0.5 / uint16::max() but that didn't work when I tried initially. It is because the result did not fit into a float and was still being truncated. Additionally update the CTS tests which caught this failure. * Source/WebGPU/WebGPU/RenderPassEncoder.mm: (WebGPU::RenderPassEncoder::quantizedDepthValue): Canonical link: https://commits.webkit.org/276444@main
- Loading branch information
1 parent
119a9a9
commit c3b657c
Showing
992 changed files
with
30,994 additions
and
3,978 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// AUTO-GENERATED - DO NOT EDIT. See tools/gen_version. | ||
|
||
export const version = 'e05aad58e94fa357a38e6b20160c37e74e8d19a6'; | ||
export const version = '390191015c725c89e4965e9c57c2ca994b534db4'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
LayoutTests/http/tests/webgpu/common/runtime/helper/utils_worker.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/** | ||
* AUTO-GENERATED - DO NOT EDIT. Source: https://github.com/gpuweb/cts | ||
**/import { globalTestConfig } from '../../framework/test_config.js';import { Logger } from '../../internal/logging/logger.js'; | ||
import { setDefaultRequestAdapterOptions } from '../../util/navigator_gpu.js'; | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
/** | ||
* Set config environment for workers with ctsOptions and return a Logger. | ||
*/ | ||
export function setupWorkerEnvironment(ctsOptions) { | ||
const { debug, unrollConstEvalLoops, powerPreference, compatibility } = ctsOptions; | ||
globalTestConfig.unrollConstEvalLoops = unrollConstEvalLoops; | ||
globalTestConfig.compatibility = compatibility; | ||
|
||
Logger.globalDebugMode = debug; | ||
const log = new Logger(); | ||
|
||
if (powerPreference || compatibility) { | ||
setDefaultRequestAdapterOptions({ | ||
...(powerPreference && { powerPreference }), | ||
// MAINTENANCE_TODO: Change this to whatever the option ends up being | ||
...(compatibility && { compatibilityMode: true }) | ||
}); | ||
} | ||
|
||
return log; | ||
} |
Oops, something went wrong.