mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Remove wgpu::BindGroupLayoutEntry::textureDimension
It was deprecated in favor of viewDimension. Bug: dawn:22 Change-Id: I8016d7440d98cc69acd1b48cb76f7ae1c1353896 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/21681 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
84ae2bfe3b
commit
b761fe1346
@@ -77,8 +77,7 @@ namespace {
|
||||
device,
|
||||
{{0, wgpu::ShaderStage::Fragment, wgpu::BindingType::ReadonlyStorageTexture,
|
||||
false, false, wgpu::TextureViewDimension::Undefined,
|
||||
wgpu::TextureViewDimension::Undefined, wgpu::TextureComponentType::Float,
|
||||
kFormat}});
|
||||
wgpu::TextureComponentType::Float, kFormat}});
|
||||
|
||||
wgpu::BindGroup bindGroup1 = utils::MakeBindGroup(device, bgl1, {{0, samplerView}});
|
||||
|
||||
@@ -109,8 +108,7 @@ namespace {
|
||||
device,
|
||||
{{0, wgpu::ShaderStage::Fragment, wgpu::BindingType::WriteonlyStorageTexture,
|
||||
false, false, wgpu::TextureViewDimension::Undefined,
|
||||
wgpu::TextureViewDimension::Undefined, wgpu::TextureComponentType::Float,
|
||||
kFormat}});
|
||||
wgpu::TextureComponentType::Float, kFormat}});
|
||||
wgpu::BindGroup bindGroup1 = utils::MakeBindGroup(device, bgl1, {{0, samplerView}});
|
||||
|
||||
wgpu::CommandEncoder encoder = device.CreateCommandEncoder();
|
||||
|
||||
Reference in New Issue
Block a user