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

Method getSampledImageConsumers

source/val/validation_state.cpp:644–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642}
643
644std::vector<Instruction*> ValidationState_t::getSampledImageConsumers(
645 uint32_t sampled_image_id) const {
646 std::vector<Instruction*> result;
647 auto iter = sampled_image_consumers_.find(sampled_image_id);
648 if (iter != sampled_image_consumers_.end()) {
649 result = iter->second;
650 }
651 return result;
652}
653
654void ValidationState_t::RegisterSampledImageConsumer(uint32_t sampled_image_id,
655 Instruction* consumer) {

Callers 1

ValidateSampledImageFunction · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected