Lines Matching defs:component
1139 * Dereference a specific component from a scalar, vector, or matrix
1142 dereference_component(ir_rvalue *src, unsigned component)
1145 assert(component < src->type->components());
1152 return new(ctx) ir_constant(constant, component);
1157 return new(ctx) ir_swizzle(src, component, 0, 0, 0, 1);
1164 const int c = component / src->type->column_type()->vector_elements;
1165 const int r = component % src->type->column_type()->vector_elements;
1520 /* Advance the component index by the number of components
1573 /* Advance the component index by the number of components that were
1586 * \param src_base First component of the source to be used in assignment
1588 * \param row_base First component of the destination column to be assigned
1662 /* Assign the scalar to the X component of a vec4, and fill the remaining
1692 * with a swizzle that puts the X component on the diagonal of the
1693 * matrix. In some cases this may mean that the X component does not
1734 * "If a matrix is constructed from a matrix, then each component
1736 * component (column i, row j) in the argument will be initialized
2271 * arguments to provide an initializer for every component in the
2319 * type correspond to the .x component of the uvec2 and the high 32
2320 * bits correspond to the .y component."