Home
last modified time | relevance | path

Searched refs:OverridableConstant (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DUtilsVulkan.cpp232 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()
/third_party/skia/third_party/externals/tint/src/inspector/
Dentry_point.h92 struct OverridableConstant { struct
145 std::vector<OverridableConstant> overridable_constants;
Dinspector.cc197 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()
Dinspector_test.cc640 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()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DUtilsMetal.mm214 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:
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.cpp400 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 …]
DShaderModule.h208 struct OverridableConstant { struct
225 using OverridableConstantsMap = std::unordered_map<std::string, OverridableConstant>;
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DShaderModuleD3D12.cpp120 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()