mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
webgpu: Align writeBuffer
with spec (#33147)
* Sync `WriteBuffer` Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Set good expectations Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Change assert to debug_assert Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
3b8c638a84
commit
65bd5a3b99
4 changed files with 24 additions and 37 deletions
24
tests/wpt/webgpu/meta/webgpu/cts.https.html.ini
vendored
24
tests/wpt/webgpu/meta/webgpu/cts.https.html.ini
vendored
|
@ -4397,26 +4397,18 @@
|
|||
|
||||
[cts.https.html?q=webgpu:api,operation,queue,writeBuffer:array_types:*]
|
||||
[:arrayType="Float32Array";useArrayBuffer=false]
|
||||
expected:
|
||||
if os == "linux" and not debug: FAIL
|
||||
|
||||
[:arrayType="Float32Array";useArrayBuffer=true]
|
||||
|
||||
[:arrayType="Float64Array";useArrayBuffer=false]
|
||||
expected:
|
||||
if os == "linux" and not debug: FAIL
|
||||
|
||||
[:arrayType="Float64Array";useArrayBuffer=true]
|
||||
|
||||
[:arrayType="Int16Array";useArrayBuffer=false]
|
||||
expected:
|
||||
if os == "linux" and not debug: FAIL
|
||||
|
||||
[:arrayType="Int16Array";useArrayBuffer=true]
|
||||
|
||||
[:arrayType="Int32Array";useArrayBuffer=false]
|
||||
expected:
|
||||
if os == "linux" and not debug: FAIL
|
||||
|
||||
[:arrayType="Int32Array";useArrayBuffer=true]
|
||||
|
||||
|
@ -4425,14 +4417,10 @@
|
|||
[:arrayType="Int8Array";useArrayBuffer=true]
|
||||
|
||||
[:arrayType="Uint16Array";useArrayBuffer=false]
|
||||
expected:
|
||||
if os == "linux" and not debug: FAIL
|
||||
|
||||
[:arrayType="Uint16Array";useArrayBuffer=true]
|
||||
|
||||
[:arrayType="Uint32Array";useArrayBuffer=false]
|
||||
expected:
|
||||
if os == "linux" and not debug: FAIL
|
||||
|
||||
[:arrayType="Uint32Array";useArrayBuffer=true]
|
||||
|
||||
|
@ -5381,20 +5369,12 @@
|
|||
|
||||
[cts.https.html?q=webgpu:api,operation,rendering,basic:large_draw:*]
|
||||
[:indexed=false;indirect=false]
|
||||
expected:
|
||||
if os == "linux" and not debug: FAIL
|
||||
|
||||
[:indexed=false;indirect=true]
|
||||
expected:
|
||||
if os == "linux" and not debug: FAIL
|
||||
|
||||
[:indexed=true;indirect=false]
|
||||
expected:
|
||||
if os == "linux" and not debug: FAIL
|
||||
|
||||
[:indexed=true;indirect=true]
|
||||
expected:
|
||||
if os == "linux" and not debug: FAIL
|
||||
|
||||
|
||||
[cts.https.html?q=webgpu:api,operation,rendering,color_target_state:blend_constant,initial:*]
|
||||
|
@ -47615,8 +47595,6 @@
|
|||
|
||||
[cts.https.html?q=webgpu:api,validation,queue,destroyed,buffer:writeBuffer:*]
|
||||
[:]
|
||||
expected:
|
||||
if os == "linux" and not debug: FAIL
|
||||
|
||||
|
||||
[cts.https.html?q=webgpu:api,validation,queue,destroyed,query_set:beginOcclusionQuery:*]
|
||||
|
@ -47691,8 +47669,6 @@
|
|||
|
||||
[cts.https.html?q=webgpu:api,validation,queue,writeBuffer:buffer_state:*]
|
||||
[:bufferState="destroyed"]
|
||||
expected:
|
||||
if os == "linux" and not debug: FAIL
|
||||
|
||||
[:bufferState="invalid"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue