Lines Matching defs:from

94        * but in the former there is a distinction between reads from
95 * the variable itself (write_only) and from the memory they point to
218 * remove all the relevant variable declaration from the IR, so that the
224 /* Check that we don't have reads from write-only variables */
234 _mesa_glsl_error(&loc, state, "Read from write-only variable `%s'",
241 get_implicit_conversion_operation(const glsl_type *to, const glsl_type *from,
246 switch (from->base_type) {
255 switch (from->base_type) {
263 switch (from->base_type) {
275 switch (from->base_type) {
285 switch (from->base_type) {
298 * The \c from \c ir_rvalue is converted "in place".
301 * \param from Operand that is being converted
309 apply_implicit_conversion(const glsl_type *to, ir_rvalue * &from,
313 if (to->base_type == from->type->base_type)
326 if (!to->is_numeric() || !from->type->is_numeric())
331 * `from`.
333 to = glsl_type::get_instance(to->base_type, from->type->vector_elements,
334 from->type->matrix_columns);
336 ir_expression_operation op = get_implicit_conversion_operation(to, from->type, state);
338 from = new(ctx) ir_expression(op, to, from, NULL);
368 * not, then the conversions from Section 4.1.10 "Implicit
632 * conversions from section 4.1.10 "Implicit Conversions" are applied
695 /* "Either the operands' types must match, or the conversions from
994 /* If the LHS array was not declared with a size, it takes it size from
1535 * conversion from Section 4.1.10 "Implicit Conversions"
2016 * from ir_value.data.assigned. Setting is_lhs as true would force to
2084 * "It is not legal for a fragment shader to read from gl_LastFragDepthARM
2156 * The warning behavior here differs slightly from GCC. GCC will
2485 * each 'type' in each scope and we use the 'type' string from the precision
2701 * In GLES we take the precision from the type qualifier if present,
2778 * "Only variables output from a vertex shader can be candidates
2975 * an array of size N, all elements of the array from binding through
2995 * N, all elements of the array from binding through binding + N – 1 must
3011 * with an array of size N, all elements of the array from binding
3161 * "Outputs from a vertex shader (out) and inputs to a fragment
3169 * outputs from a fragment shader."
3172 * "Outputs from a shader (out) and inputs to a shader (in) can be
3177 * not apply to inputs into a vertex shader or outputs from a
4588 * type information from the LHS into it, so that its hir() function can do
4724 * its full type from the initializer. A declaration such as
4868 * will be taken from the implementation-dependent maximum patch size
5026 * builtins are treated as having come from another scope.
5029 "variable `%s' from an outer scope may not be "
5772 * it will be taken from the implementation-dependent maximum
5777 * "If no size is specified, it will be taken from output patch
5795 * unsized array declarations have been removed from the language.
5838 * This differs from most C-like languages, but it follows the GLSL
5873 * so we return the rvalue from the last seen declaration here.
6603 /* Break out from the switch, continue for the loop will
7098 * constructor (below) from failing an assertion.
7346 * declared separately from the struct's type definition.
7461 * "(remove the following bullet from the last list on p. 39,
7485 * FINISHME: Request clarification from Khronos and add
7770 * from the block.
8278 /* Copy locations from the old gl_PerVertex interface block. */
8702 * block and then use a member from that built-in block that was
8709 * To prevent the shader from using a member that was not included in
8716 * validate_intrastage_interface_blocks() from getting confused and
8866 * It is not clear from the spec how the error should be reported if