diff --git a/src/inspector/inspector_test.cc b/src/inspector/inspector_test.cc index f52e688eaf..6472ebd13b 100644 --- a/src/inspector/inspector_test.cc +++ b/src/inspector/inspector_test.cc @@ -631,21 +631,6 @@ class InspectorHelper : public ProgramBuilder { return {texture_type, subtype, access_control}; } - /// Generates appropriate types for a Write-Only StorageTexture - /// @param dim the texture dimension of the storage texture - /// @param format the image format of the storage texture - /// @returns the storage texture type, subtype & access control type - std::tuple - MakeWriteOnlyStorageTextureTypes(type::TextureDimension dim, - type::ImageFormat format) { - type::StorageTexture* texture_type; - type::Type* subtype; - std::tie(texture_type, subtype) = MakeStorageTextureTypes(dim, format); - auto* access_control = create( - ast::AccessControl::kWriteOnly, texture_type); - return {texture_type, subtype, access_control}; - } - /// Adds a storage texture variable to the program /// @param name the name of the variable /// @param type the type to use diff --git a/src/writer/wgsl/test_helper.h b/src/writer/wgsl/test_helper.h index 14a69a2a84..5039ebea1b 100644 --- a/src/writer/wgsl/test_helper.h +++ b/src/writer/wgsl/test_helper.h @@ -50,7 +50,7 @@ class TestHelperBase : public BASE, public ProgramBuilder { /// The type determiner TypeDeterminer td; - // The program built with a call to Build() + /// The program built with a call to Build() std::unique_ptr program; private: