mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-17 17:31:47 +00:00
These suffixes existed because the GN build errored when there were two files sets with the same name (ast + sem). This is no longer required as the GN build splits these into two separate targets. Change-Id: Ib451da33a5f4aa5c867cb99419dd252766dc3daa Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88308 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
28 lines
859 B
C++
28 lines
859 B
C++
// Copyright 2020 The Tint Authors.
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
#include "src/tint/sem/texture.h"
|
|
|
|
TINT_INSTANTIATE_TYPEINFO(tint::sem::Texture);
|
|
|
|
namespace tint::sem {
|
|
|
|
Texture::Texture(ast::TextureDimension dim) : dim_(dim) {}
|
|
|
|
Texture::Texture(Texture&&) = default;
|
|
|
|
Texture::~Texture() = default;
|
|
|
|
} // namespace tint::sem
|