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

Function create_mat

src/CommonLibrary.cpp:271–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269 return create_float3(prog);
270 }
271 bv_variable create_mat(bv_program* prog, const char* name, sd::Matrix* mat)
272 {
273 bv_variable ret = bv_variable_create_object(bv_program_get_object_info(prog, name));
274 bv_object* retObj = bv_variable_get_object(ret);
275
276 retObj->user_data = (void*)mat;
277
278 return ret;
279 }
280
281 bv_type merge_type(bv_type type1, bv_type type2)
282 {

Callers 6

lib_glsl_inverseFunction · 0.85
lib_glsl_matrixCompMultFunction · 0.85
lib_glsl_outerProductFunction · 0.85
lib_common_transposeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected