Searched refs:OverridableConstant (Results 1 – 8 of 8) sorted by relevance
232 case EntryPointMetadata::OverridableConstant::Type::Boolean: in GetVkSpecializationInfo()235 case EntryPointMetadata::OverridableConstant::Type::Float32: in GetVkSpecializationInfo()238 case EntryPointMetadata::OverridableConstant::Type::Int32: in GetVkSpecializationInfo()241 case EntryPointMetadata::OverridableConstant::Type::Uint32: in GetVkSpecializationInfo()
92 struct OverridableConstant { struct145 std::vector<OverridableConstant> overridable_constants;
197 OverridableConstant overridable_constant; in GetEntryPoints()203 overridable_constant.type = OverridableConstant::Type::kBool; in GetEntryPoints()205 overridable_constant.type = OverridableConstant::Type::kFloat32; in GetEntryPoints()207 overridable_constant.type = OverridableConstant::Type::kInt32; in GetEntryPoints()209 overridable_constant.type = OverridableConstant::Type::kUint32; in GetEntryPoints()
640 EXPECT_EQ(inspector::OverridableConstant::Type::kBool, in TEST_F()643 EXPECT_EQ(inspector::OverridableConstant::Type::kFloat32, in TEST_F()646 EXPECT_EQ(inspector::OverridableConstant::Type::kUint32, in TEST_F()649 EXPECT_EQ(inspector::OverridableConstant::Type::kInt32, in TEST_F()
214 auto switchType = [&](EntryPointMetadata::OverridableConstant::Type dawnType,218 case EntryPointMetadata::OverridableConstant::Type::Boolean:224 case EntryPointMetadata::OverridableConstant::Type::Float32:230 case EntryPointMetadata::OverridableConstant::Type::Int32:236 case EntryPointMetadata::OverridableConstant::Type::Uint32:
400 EntryPointMetadata::OverridableConstant::Type FromTintOverridableConstantType( in FromTintOverridableConstantType()401 tint::inspector::OverridableConstant::Type type) { in FromTintOverridableConstantType()403 case tint::inspector::OverridableConstant::Type::kBool: in FromTintOverridableConstantType()404 return EntryPointMetadata::OverridableConstant::Type::Boolean; in FromTintOverridableConstantType()405 case tint::inspector::OverridableConstant::Type::kFloat32: in FromTintOverridableConstantType()406 return EntryPointMetadata::OverridableConstant::Type::Float32; in FromTintOverridableConstantType()407 case tint::inspector::OverridableConstant::Type::kInt32: in FromTintOverridableConstantType()408 return EntryPointMetadata::OverridableConstant::Type::Int32; in FromTintOverridableConstantType()409 case tint::inspector::OverridableConstant::Type::kUint32: in FromTintOverridableConstantType()410 return EntryPointMetadata::OverridableConstant::Type::Uint32; in FromTintOverridableConstantType()[all …]
208 struct OverridableConstant { struct225 using OverridableConstantsMap = std::unordered_map<std::string, OverridableConstant>;
120 std::string GetHLSLValueString(EntryPointMetadata::OverridableConstant::Type dawnType, in GetHLSLValueString()124 case EntryPointMetadata::OverridableConstant::Type::Boolean: in GetHLSLValueString()126 case EntryPointMetadata::OverridableConstant::Type::Float32: in GetHLSLValueString()129 case EntryPointMetadata::OverridableConstant::Type::Int32: in GetHLSLValueString()131 case EntryPointMetadata::OverridableConstant::Type::Uint32: in GetHLSLValueString()