mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 17:05:31 +00:00
Remove wgpu::BindingType::StorageTexture
It isn't in the upstream WebGPU spec and completely unimplemented in Dawn. Bug: dawn:527 Change-Id: I2023c7b1de2a9fa50d26ab1678b7ef7e32c64af6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/28500 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
d6498a41ab
commit
c01b26490a
@@ -52,7 +52,6 @@ namespace dawn_native { namespace opengl {
|
||||
case wgpu::BindingType::ComparisonSampler:
|
||||
break;
|
||||
|
||||
case wgpu::BindingType::StorageTexture:
|
||||
default:
|
||||
UNREACHABLE();
|
||||
break;
|
||||
|
||||
@@ -348,12 +348,6 @@ namespace dawn_native { namespace opengl {
|
||||
texture->GetGLFormat().internalFormat);
|
||||
break;
|
||||
}
|
||||
|
||||
case wgpu::BindingType::StorageTexture:
|
||||
UNREACHABLE();
|
||||
break;
|
||||
|
||||
// TODO(shaobo.yan@intel.com): Implement dynamic buffer offset.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -157,10 +157,6 @@ namespace dawn_native { namespace opengl {
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case wgpu::BindingType::StorageTexture:
|
||||
UNREACHABLE();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,12 +60,6 @@ namespace dawn_native { namespace opengl {
|
||||
mIndexInfo[group][bindingIndex] = storageTextureIndex;
|
||||
storageTextureIndex++;
|
||||
break;
|
||||
|
||||
case wgpu::BindingType::StorageTexture:
|
||||
UNREACHABLE();
|
||||
break;
|
||||
|
||||
// TODO(shaobo.yan@intel.com): Implement dynamic buffer offset
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user