/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | desc_sroa_util.cpp | 61 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()
|
D | upgrade_memory_model.cpp | 343 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
|
D | upgrade_memory_model.h | 86 bool HasDecoration(const Instruction* inst, uint32_t value,
|
D | decoration_manager.h | 95 bool HasDecoration(uint32_t id, uint32_t decoration);
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | desc_sroa_util.cpp | 61 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()
|
D | upgrade_memory_model.cpp | 343 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
|
D | upgrade_memory_model.h | 86 bool HasDecoration(const Instruction* inst, uint32_t value,
|
D | decoration_manager.h | 95 bool HasDecoration(uint32_t id, uint32_t decoration);
|
/third_party/skia/third_party/externals/tint/src/ast/ |
D | variable_test.cc | 103 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()
|
D | decoration.h | 47 bool HasDecoration(const DecorationList& decorations) { in HasDecoration() function
|
D | struct.cc | 48 return HasDecoration<StructBlockDecoration>(decorations); in IsBlockDecorated()
|
/third_party/spirv-tools/source/opt/ |
D | upgrade_memory_model.cpp | 343 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
|
D | upgrade_memory_model.h | 86 bool HasDecoration(const Instruction* inst, uint32_t value,
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | canonicalize_entry_point_io.cc | 168 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/ |
D | validate_memory.cpp | 581 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()
|
D | validate_type.cpp | 389 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()
|
D | validate_interfaces.cpp | 151 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/ |
D | validate_type.cpp | 389 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()
|
D | validate_memory.cpp | 581 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()
|
D | validate_interfaces.cpp | 155 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/ |
D | validate_type.cpp | 389 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()
|
D | validate_memory.cpp | 581 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()
|
D | validate_interfaces.cpp | 155 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/ |
D | parser_impl_global_constant_decl_test.cc | 48 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/ |
D | generator_impl.cc | 445 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()
|