1cb93a386Sopenharmony_ci/* 2cb93a386Sopenharmony_ci * Copyright 2015-2021 Arm Limited 3cb93a386Sopenharmony_ci * SPDX-License-Identifier: Apache-2.0 OR MIT 4cb93a386Sopenharmony_ci * 5cb93a386Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 6cb93a386Sopenharmony_ci * you may not use this file except in compliance with the License. 7cb93a386Sopenharmony_ci * You may obtain a copy of the License at 8cb93a386Sopenharmony_ci * 9cb93a386Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 10cb93a386Sopenharmony_ci * 11cb93a386Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 12cb93a386Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 13cb93a386Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14cb93a386Sopenharmony_ci * See the License for the specific language governing permissions and 15cb93a386Sopenharmony_ci * limitations under the License. 16cb93a386Sopenharmony_ci */ 17cb93a386Sopenharmony_ci 18cb93a386Sopenharmony_ci/* 19cb93a386Sopenharmony_ci * At your option, you may choose to accept this material under either: 20cb93a386Sopenharmony_ci * 1. The Apache License, Version 2.0, found at <http://www.apache.org/licenses/LICENSE-2.0>, or 21cb93a386Sopenharmony_ci * 2. The MIT License, found at <http://opensource.org/licenses/MIT>. 22cb93a386Sopenharmony_ci */ 23cb93a386Sopenharmony_ci 24cb93a386Sopenharmony_ci#ifndef SPIRV_CROSS_UTIL_HPP 25cb93a386Sopenharmony_ci#define SPIRV_CROSS_UTIL_HPP 26cb93a386Sopenharmony_ci 27cb93a386Sopenharmony_ci#include "spirv_cross.hpp" 28cb93a386Sopenharmony_ci 29cb93a386Sopenharmony_cinamespace spirv_cross_util 30cb93a386Sopenharmony_ci{ 31cb93a386Sopenharmony_civoid rename_interface_variable(SPIRV_CROSS_NAMESPACE::Compiler &compiler, 32cb93a386Sopenharmony_ci const SPIRV_CROSS_NAMESPACE::SmallVector<SPIRV_CROSS_NAMESPACE::Resource> &resources, 33cb93a386Sopenharmony_ci uint32_t location, const std::string &name); 34cb93a386Sopenharmony_civoid inherit_combined_sampler_bindings(SPIRV_CROSS_NAMESPACE::Compiler &compiler); 35cb93a386Sopenharmony_ci} // namespace spirv_cross_util 36cb93a386Sopenharmony_ci 37cb93a386Sopenharmony_ci#endif 38