mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 15:46:28 +00:00
Deprecate readonly storage textures
Bug: dawn:1025 Change-Id: Ie799507b534d983959d44b573436bb5421162150 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/59841 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
b550c143c0
commit
52201303f3
@@ -72,9 +72,11 @@ namespace {
|
||||
{
|
||||
wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, samplerView}});
|
||||
|
||||
wgpu::BindGroupLayout bgl1 = utils::MakeBindGroupLayout(
|
||||
device, {{0, wgpu::ShaderStage::Fragment, wgpu::StorageTextureAccess::ReadOnly,
|
||||
kFormat}});
|
||||
wgpu::BindGroupLayout bgl1;
|
||||
EXPECT_DEPRECATION_WARNING(
|
||||
bgl1 = utils::MakeBindGroupLayout(
|
||||
device, {{0, wgpu::ShaderStage::Fragment,
|
||||
wgpu::StorageTextureAccess::ReadOnly, kFormat}}));
|
||||
|
||||
wgpu::BindGroup bindGroup1 = utils::MakeBindGroup(device, bgl1, {{0, samplerView}});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user