MCPcopy Create free account
hub / github.com/aras-p/glsl-optimizer / emit_inline_vector_constructor

Function emit_inline_vector_constructor

src/glsl/ast_function.cpp:1007–1141  ·  view source on GitHub ↗

* Generate inline code for a vector constructor * * The generated constructor code will consist of a temporary variable * declaration of the same type as the constructor. A sequence of assignments * from constructor parameters to the temporary will follow. * * \return * An \c ir_dereference_variable of the temprorary generated in the constructor * body. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

hirMethod · 0.85

Calls 6

single_scalar_parameterFunction · 0.85
is_emptyMethod · 0.80
push_tailMethod · 0.80
componentsMethod · 0.80
get_precisionMethod · 0.80
higher_precisionFunction · 0.70

Tested by

no test coverage detected