MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / Run

Method Run

layers/gpuav/spirv/pass.cpp:35–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 : module_(module), type_manager_(module_.type_manager_), link_info_(offline) {}
34
35bool Pass::Run() {
36 const bool modified = Instrument();
37 if (module_.settings_.print_debug_info) {
38 PrintDebugInfo();
39 }
40 if (modified) {
41 PostProcess();
42 }
43
44 // Detect if any functions were applied that we need to add now
45 if (modified && !link_info_.functions.empty()) {
46 module_.link_infos_.emplace_back(link_info_);
47 }
48 return modified;
49}
50
51// Special function to map to the internal representation of the execution models used for GenerateStageMessage()
52static uint32_t GetNormalizedExecutionModel(VkShaderStageFlagBits shader_stage) {

Callers 4

ValidateShaderStageMethod · 0.45
InstrumentShaderMethod · 0.45

Calls 2

emplace_backMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected