mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove validation for GPUBindGroup, GPUBindGroupLayout, GPUPipelineLayout
This commit is contained in:
parent
48ef306bd3
commit
f973099020
7 changed files with 102 additions and 531 deletions
|
@ -107,14 +107,6 @@ impl GPUTexture {
|
|||
pub fn id(&self) -> WebGPUTexture {
|
||||
self.texture
|
||||
}
|
||||
|
||||
pub fn sample_count(&self) -> u32 {
|
||||
self.sample_count
|
||||
}
|
||||
|
||||
pub fn usage(&self) -> u32 {
|
||||
self.texture_usage
|
||||
}
|
||||
}
|
||||
|
||||
impl GPUTextureMethods for GPUTexture {
|
||||
|
@ -188,7 +180,7 @@ impl GPUTextureMethods for GPUTexture {
|
|||
|
||||
let texture_view = WebGPUTextureView(texture_view_id);
|
||||
|
||||
GPUTextureView::new(&self.global(), texture_view, &self, true, dimension, format)
|
||||
GPUTextureView::new(&self.global(), texture_view, &self, self.valid.get())
|
||||
}
|
||||
|
||||
/// https://gpuweb.github.io/gpuweb/#dom-gputexture-destroy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue