mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update wgpu and impl WGSLLanguageFeatures
(#34928)
* Update wgpu and impl `WGSLLanguageFeatures`
dc9b2eb718
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Update expectations
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
7ac0dfb5b5
commit
4e51c7be43
9 changed files with 148 additions and 659 deletions
|
@ -57,6 +57,11 @@ interface GPUSupportedFeatures {
|
|||
readonly setlike<DOMString>;
|
||||
};
|
||||
|
||||
[Exposed=(Window, DedicatedWorker), Pref="dom.webgpu.enabled"]
|
||||
interface WGSLLanguageFeatures {
|
||||
readonly setlike<DOMString>;
|
||||
};
|
||||
|
||||
[Exposed=(Window, DedicatedWorker), Pref="dom.webgpu.enabled"]
|
||||
interface GPUAdapterInfo {
|
||||
readonly attribute DOMString vendor;
|
||||
|
@ -77,6 +82,7 @@ interface GPU {
|
|||
[NewObject]
|
||||
Promise<GPUAdapter?> requestAdapter(optional GPURequestAdapterOptions options = {});
|
||||
GPUTextureFormat getPreferredCanvasFormat();
|
||||
[SameObject] readonly attribute WGSLLanguageFeatures wgslLanguageFeatures;
|
||||
};
|
||||
|
||||
dictionary GPURequestAdapterOptions {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue