MCPcopy Create free account
hub / github.com/crosire/reshade / write_location

Method write_location

source/effect_codegen_glsl.cpp:565–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563 s += ')';
564 }
565 void write_location(std::string &s, const location &loc) const
566 {
567 if (loc.source.empty() || !_debug_info)
568 return;
569
570 s += "#line " + std::to_string(loc.line) + '\n';
571 }
572 void write_texture_format(std::string &s, texture_format format)
573 {
574 switch (format)

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected