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

Method emit_pragma

source/effect_codegen_dxbc.cpp:114–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 void emit_pragma(const std::string &pragma) override
115 {
116 if (pragma == "reshade skipoptimization" || pragma == "reshade nooptimization")
117 _optimization_level = -1;
118
119 codegen_hlsl::emit_pragma(pragma);
120 }
121
122private:
123 int _optimization_level;

Callers

nothing calls this directly

Calls 1

emit_pragmaFunction · 0.70

Tested by

no test coverage detected