MCPcopy Create free account
hub / github.com/dfranx/ShaderDebugger / lib_hlsl_abort

Function lib_hlsl_abort

src/HLSLLibrary.cpp:68–72  ·  view source on GitHub ↗

misc */

Source from the content-addressed store, hash-verified

66
67 /* misc */
68 bv_variable lib_hlsl_abort(bv_program* prog, u8 count, bv_variable* args)
69 {
70 ((sd::ShaderDebugger*)prog->user_data)->SetDiscarded(true);
71 return bv_variable_create_void();
72 }
73 bv_variable lib_hlsl_clip(bv_program* prog, u8 count, bv_variable* args)
74 {
75 bool shouldDiscard = false;

Callers

nothing calls this directly

Calls 1

SetDiscardedMethod · 0.80

Tested by

no test coverage detected