Home
last modified time | relevance | path

Searched refs:HasDecoration (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/source/opt/
Ddesc_sroa_util.cpp61 if (!context->get_decoration_mgr()->HasDecoration( in IsDescriptorArray()
66 return context->get_decoration_mgr()->HasDecoration(var->result_id(), in IsDescriptorArray()
77 return context->get_decoration_mgr()->HasDecoration(type->result_id(), in IsTypeOfStructuredBuffer()
Dupgrade_memory_model.cpp343 is_coherent |= HasDecoration(inst, 0, SpvDecorationCoherent); in TraceInstruction()
344 is_volatile |= HasDecoration(inst, 0, SpvDecorationVolatile); in TraceInstruction()
423 is_coherent |= HasDecoration(element_inst, static_cast<uint32_t>(value), in CheckType()
425 is_volatile |= HasDecoration(element_inst, static_cast<uint32_t>(value), in CheckType()
465 is_coherent |= HasDecoration(def, std::numeric_limits<uint32_t>::max(), in CheckAllTypes()
467 is_volatile |= HasDecoration(def, std::numeric_limits<uint32_t>::max(), in CheckAllTypes()
508 bool UpgradeMemoryModel::HasDecoration(const Instruction* inst, uint32_t value, in HasDecoration() function in spvtools::opt::UpgradeMemoryModel
Dupgrade_memory_model.h86 bool HasDecoration(const Instruction* inst, uint32_t value,
Ddecoration_manager.h95 bool HasDecoration(uint32_t id, uint32_t decoration);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddesc_sroa_util.cpp61 if (!context->get_decoration_mgr()->HasDecoration( in IsDescriptorArray()
66 return context->get_decoration_mgr()->HasDecoration(var->result_id(), in IsDescriptorArray()
77 return context->get_decoration_mgr()->HasDecoration(type->result_id(), in IsTypeOfStructuredBuffer()
Dupgrade_memory_model.cpp343 is_coherent |= HasDecoration(inst, 0, SpvDecorationCoherent); in TraceInstruction()
344 is_volatile |= HasDecoration(inst, 0, SpvDecorationVolatile); in TraceInstruction()
423 is_coherent |= HasDecoration(element_inst, static_cast<uint32_t>(value), in CheckType()
425 is_volatile |= HasDecoration(element_inst, static_cast<uint32_t>(value), in CheckType()
465 is_coherent |= HasDecoration(def, std::numeric_limits<uint32_t>::max(), in CheckAllTypes()
467 is_volatile |= HasDecoration(def, std::numeric_limits<uint32_t>::max(), in CheckAllTypes()
508 bool UpgradeMemoryModel::HasDecoration(const Instruction* inst, uint32_t value, in HasDecoration() function in spvtools::opt::UpgradeMemoryModel
Dupgrade_memory_model.h86 bool HasDecoration(const Instruction* inst, uint32_t value,
Ddecoration_manager.h95 bool HasDecoration(uint32_t id, uint32_t decoration);
/third_party/skia/third_party/externals/tint/src/ast/
Dvariable_test.cc103 EXPECT_TRUE(ast::HasDecoration<ast::LocationDecoration>(decorations)); in TEST_F()
104 EXPECT_TRUE(ast::HasDecoration<ast::BuiltinDecoration>(decorations)); in TEST_F()
105 EXPECT_TRUE(ast::HasDecoration<ast::OverrideDecoration>(decorations)); in TEST_F()
Ddecoration.h47 bool HasDecoration(const DecorationList& decorations) { in HasDecoration() function
Dstruct.cc48 return HasDecoration<StructBlockDecoration>(decorations); in IsBlockDecorated()
/third_party/spirv-tools/source/opt/
Dupgrade_memory_model.cpp343 is_coherent |= HasDecoration(inst, 0, SpvDecorationCoherent); in TraceInstruction()
344 is_volatile |= HasDecoration(inst, 0, SpvDecorationVolatile); in TraceInstruction()
423 is_coherent |= HasDecoration(element_inst, static_cast<uint32_t>(value), in CheckType()
425 is_volatile |= HasDecoration(element_inst, static_cast<uint32_t>(value), in CheckType()
465 is_coherent |= HasDecoration(def, std::numeric_limits<uint32_t>::max(), in CheckAllTypes()
467 is_volatile |= HasDecoration(def, std::numeric_limits<uint32_t>::max(), in CheckAllTypes()
508 bool UpgradeMemoryModel::HasDecoration(const Instruction* inst, uint32_t value, in HasDecoration() function in spvtools::opt::UpgradeMemoryModel
Dupgrade_memory_model.h86 bool HasDecoration(const Instruction* inst, uint32_t value,
/third_party/skia/third_party/externals/tint/src/transform/
Dcanonicalize_entry_point_io.cc168 ast::HasDecoration<ast::LocationDecoration>(attributes) && in AddInput()
169 !ast::HasDecoration<ast::InterpolateDecoration>(attributes) && in AddInput()
192 ast::HasDecoration<ast::BuiltinDecoration>(attributes)) { in AddInput()
227 ast::HasDecoration<ast::LocationDecoration>(attributes) && in AddOutput()
228 !ast::HasDecoration<ast::InterpolateDecoration>(attributes) && in AddOutput()
/third_party/spirv-tools/source/val/
Dvalidate_memory.cpp581 if (_.HasDecoration(inst->id(), SpvDecorationInvariant)) { in ValidateVariable()
590 if (_.HasDecoration(value_id, SpvDecorationInvariant)) { in ValidateVariable()
644 _.HasDecoration(inst->id(), SpvDecorationAliasedPointerEXT); in ValidateVariable()
646 _.HasDecoration(inst->id(), SpvDecorationRestrictPointerEXT); in ValidateVariable()
696 if (!_.HasDecoration(value_id, SpvDecorationBlock)) { in ValidateVariable()
703 if (!_.HasDecoration(value_id, SpvDecorationBufferBlock)) { in ValidateVariable()
762 !_.HasDecoration(underlying_type->id(), in ValidateVariable()
824 !_.HasDecoration(underlying_type->id(), in ValidateVariable()
974 if (_.HasDecoration(base_type->id(), SpvDecorationBlock)) { in ValidateStore()
Dvalidate_type.cpp389 if (_.HasDecoration(memberTypeInstr->id(), SpvDecorationBlock) || in ValidateTypeStruct()
390 _.HasDecoration(memberTypeInstr->id(), SpvDecorationBufferBlock) || in ValidateTypeStruct()
399 (_.HasDecoration(inst->id(), SpvDecorationBufferBlock) || in ValidateTypeStruct()
400 _.HasDecoration(inst->id(), SpvDecorationBlock))) { in ValidateTypeStruct()
Dvalidate_interfaces.cpp151 if (_.HasDecoration(type->id(), SpvDecorationLocation)) { in NumConsumedLocations()
315 if (_.HasDecoration(type_id, SpvDecorationBuiltIn)) return SPV_SUCCESS; in GetLocationsForVariable()
319 const bool is_block = _.HasDecoration(type_id, SpvDecorationBlock); in GetLocationsForVariable()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_type.cpp389 if (_.HasDecoration(memberTypeInstr->id(), SpvDecorationBlock) || in ValidateTypeStruct()
390 _.HasDecoration(memberTypeInstr->id(), SpvDecorationBufferBlock) || in ValidateTypeStruct()
399 (_.HasDecoration(inst->id(), SpvDecorationBufferBlock) || in ValidateTypeStruct()
400 _.HasDecoration(inst->id(), SpvDecorationBlock))) { in ValidateTypeStruct()
Dvalidate_memory.cpp581 if (_.HasDecoration(inst->id(), SpvDecorationInvariant)) { in ValidateVariable()
590 if (_.HasDecoration(value_id, SpvDecorationInvariant)) { in ValidateVariable()
644 _.HasDecoration(inst->id(), SpvDecorationAliasedPointerEXT); in ValidateVariable()
646 _.HasDecoration(inst->id(), SpvDecorationRestrictPointerEXT); in ValidateVariable()
696 if (!_.HasDecoration(value_id, SpvDecorationBlock)) { in ValidateVariable()
703 if (!_.HasDecoration(value_id, SpvDecorationBufferBlock)) { in ValidateVariable()
762 !_.HasDecoration(underlying_type->id(), in ValidateVariable()
824 !_.HasDecoration(underlying_type->id(), in ValidateVariable()
980 if (_.HasDecoration(base_type->id(), SpvDecorationBlock)) { in ValidateStore()
Dvalidate_interfaces.cpp155 if (_.HasDecoration(type->id(), SpvDecorationLocation)) { in NumConsumedLocations()
323 if (_.HasDecoration(type_id, SpvDecorationBuiltIn)) return SPV_SUCCESS; in GetLocationsForVariable()
327 const bool is_block = _.HasDecoration(type_id, SpvDecorationBlock); in GetLocationsForVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_type.cpp389 if (_.HasDecoration(memberTypeInstr->id(), SpvDecorationBlock) || in ValidateTypeStruct()
390 _.HasDecoration(memberTypeInstr->id(), SpvDecorationBufferBlock) || in ValidateTypeStruct()
399 (_.HasDecoration(inst->id(), SpvDecorationBufferBlock) || in ValidateTypeStruct()
400 _.HasDecoration(inst->id(), SpvDecorationBlock))) { in ValidateTypeStruct()
Dvalidate_memory.cpp581 if (_.HasDecoration(inst->id(), SpvDecorationInvariant)) { in ValidateVariable()
590 if (_.HasDecoration(value_id, SpvDecorationInvariant)) { in ValidateVariable()
644 _.HasDecoration(inst->id(), SpvDecorationAliasedPointerEXT); in ValidateVariable()
646 _.HasDecoration(inst->id(), SpvDecorationRestrictPointerEXT); in ValidateVariable()
696 if (!_.HasDecoration(value_id, SpvDecorationBlock)) { in ValidateVariable()
703 if (!_.HasDecoration(value_id, SpvDecorationBufferBlock)) { in ValidateVariable()
762 !_.HasDecoration(underlying_type->id(), in ValidateVariable()
824 !_.HasDecoration(underlying_type->id(), in ValidateVariable()
980 if (_.HasDecoration(base_type->id(), SpvDecorationBlock)) { in ValidateStore()
Dvalidate_interfaces.cpp155 if (_.HasDecoration(type->id(), SpvDecorationLocation)) { in NumConsumedLocations()
323 if (_.HasDecoration(type_id, SpvDecorationBuiltIn)) return SPV_SUCCESS; in GetLocationsForVariable()
327 const bool is_block = _.HasDecoration(type_id, SpvDecorationBlock); in GetLocationsForVariable()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_global_constant_decl_test.cc48 ast::HasDecoration<ast::OverrideDecoration>(e.value->decorations)); in TEST_F()
75 ast::HasDecoration<ast::OverrideDecoration>(e.value->decorations)); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl.cc445 if (ast::HasDecoration<transform::CalculateArrayLength::BufferSizeIntrinsic>( in EmitFunctionCall()
1510 if (ast::HasDecoration<ast::InternalDecoration>(func->decorations)) { in EmitFunction()
1882 if (ast::HasDecoration<ast::BuiltinDecoration>( in EmitEntryPointFunction()
1900 if (ast::HasDecoration<ast::BuiltinDecoration>( in EmitEntryPointFunction()

12