Lines Matching refs:from
499 * require an implicit conversion to exist both to and from the formal
589 * "Initializers for const declarations must be formed from literal
1091 * The \c from \c ir_rvalue is converted "in place".
1093 * \param from Operand that is being converted
1102 implicitly_convert_component(ir_rvalue * &from, const glsl_base_type to,
1106 ir_rvalue *result = from;
1108 if (to != from->type->base_type) {
1111 from->type->vector_elements,
1112 from->type->matrix_columns);
1114 if (from->type->can_implicitly_convert_to(desired_type, state)) {
1120 result = convert_component(from, desired_type);
1129 if (from != result) {
1130 from->replace_with(result);
1131 from = result;
1139 * Dereference a specific component from a scalar, vector, or matrix
1162 * a specific element from that row.
1425 * from constructor parameters to the temporary will follow.
1444 * - Construct a vector from a single scalar by replicating that scalar to
1447 * - Construct a vector from at least a matrix. This case should already
1451 * - Construct a vector from an arbirary combination of vectors and
1607 /* Generate a swizzle that extracts the number of components from the source
1629 * from constructor parameters to the temporary will follow.
1648 * - Construct a matrix from a single scalar by replicating that scalar to
1652 * - Construct a matrix from an arbirary combination of vectors and
1656 * - Construct a matrix from a single matrix. The source matrix is copied
1658 * elements take values from the identity matrix.
1734 * "If a matrix is constructed from a matrix, then each component
1737 * from there. All other components will be initialized to the
1787 /* Assign columns from the source matrix to the destination matrix.
2139 * converted to and from 64-bit integers using constructors."
2144 * converted to and from 64-bit integers using constructors."
2182 * When using the C-style initializer syntax from GLSL 4.20, constructors
2198 /* Number of components from parameters that have actually been
2223 _mesa_glsl_error(& loc, state, "cannot construct `%s' from a "
2243 * "It is an error to construct matrices from other matrices. This
2249 "cannot construct `%s' from a matrix",
2348 "be converted from a pair of 32-bit unsigned "