Lines Matching defs:value

319    /* For matrices, if this is non-NULL, then this value is actually the
320 * transpose of some other value. The value that `transposed` points to
321 * always dominates this value.
606 * the existence of a NonUniform decoration on this value.*/
609 /* Valid for vtn_value_type_constant to indicate the value is OpConstantNull. */
612 /* Valid when all the members of the value are undef. */
638 /* Different kinds of decorations are stored in a value,
642 decoration associated with the value
644 an execution mode associated with an entrypoint value
646 decoration associated with member m of a struct value
648 name of m'th member of a struct value
773 vtn_id_for_value(struct vtn_builder *b, struct vtn_value *value)
775 vtn_fail_if(value <= b->values, "vtn_value pointer outside the range of valid values");
776 uint32_t value_id = value - b->values;
810 "SPIR-V id %u is the wrong kind of value", value_id);
820 "SPIR-V id %u is the wrong kind of value", value_id);
825 vtn_value_to_pointer(struct vtn_builder *b, struct vtn_value *value)
827 if (value->is_null_constant) {
828 vtn_assert(glsl_type_is_vector_or_scalar(value->type->type));
830 vtn_const_ssa_value(b, value->constant, value->type->type)->def;
831 return vtn_pointer_from_ssa(b, const_ssa, value->type);
833 vtn_assert(value->value_type == vtn_value_type_pointer);
834 return value->pointer;
963 void vtn_foreach_decoration(struct vtn_builder *b, struct vtn_value *value,
971 void vtn_foreach_execution_mode(struct vtn_builder *b, struct vtn_value *value,
1058 void vtn_mediump_upconvert_value(struct vtn_builder *b, struct vtn_ssa_value *value);