1 // Copyright 2019 The SwiftShader Authors. All Rights Reserved. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #include "TypeOf.hpp" 16 17 namespace vk { 18 namespace dbg { 19 20 std::string TypeOf<bool>::name = "bool"; 21 std::string TypeOf<uint8_t>::name = "uint8_t"; 22 std::string TypeOf<int8_t>::name = "int8_t"; 23 std::string TypeOf<uint16_t>::name = "uint16_t"; 24 std::string TypeOf<int16_t>::name = "int16_t"; 25 std::string TypeOf<float>::name = "float"; 26 std::string TypeOf<uint32_t>::name = "uint32_t"; 27 std::string TypeOf<int32_t>::name = "int32_t"; 28 std::string TypeOf<double>::name = "double"; 29 std::string TypeOf<uint64_t>::name = "uint64_t"; 30 std::string TypeOf<int64_t>::name = "int64_t"; 31 32 } // namespace dbg 33 } // namespace vk 34