MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / ForEachDecoration

Method ForEachDecoration

source/opt/decoration_manager.cpp:486–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486void DecorationManager::ForEachDecoration(
487 uint32_t id, uint32_t decoration,
488 std::function<void(const Instruction&)> f) const {
489 WhileEachDecoration(id, decoration, [&f](const Instruction& inst) {
490 f(inst);
491 return true;
492 });
493}
494
495bool DecorationManager::HasDecoration(uint32_t id,
496 spv::Decoration decoration) const {

Callers 7

IsVulkanStorageBufferMethod · 0.80
IsVulkanUniformBufferMethod · 0.80
AnalyzeBuiltInMethod · 0.80
ProcessMethod · 0.80
FindUniformVariableFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected