Lines Matching defs:double_type
84 double_type = type("double", "d", "GLSL_TYPE_DOUBLE")
87 all_types = (uint_type, int_type, float_type, double_type, bool_type)
88 numeric_types = (uint_type, int_type, float_type, double_type)
89 signed_numeric_types = (int_type, float_type, double_type)
91 real_types = (float_type, double_type)
452 operation("d2f", 1, source_types=(double_type,), dest_type=float_type, c_expression="{src0}"),
454 operation("f2d", 1, source_types=(float_type,), dest_type=double_type, c_expression="{src0}"),
456 operation("d2i", 1, source_types=(double_type,), dest_type=int_type, c_expression="{src0}"),
458 operation("i2d", 1, source_types=(int_type,), dest_type=double_type, c_expression="{src0}"),
460 operation("d2u", 1, source_types=(double_type,), dest_type=uint_type, c_expression="{src0}"),
462 operation("u2d", 1, source_types=(uint_type,), dest_type=double_type, c_expression="{src0}"),
464 operation("d2b", 1, source_types=(double_type,), dest_type=bool_type, c_expression="{src0} != 0.0"),
514 operation("pack_double_2x32", 1, printable_name="packDouble2x32", source_types=(uint_type,), dest_type=double_type, c_expression="memcpy(&data.d[0], &op[0]->value.u[0], sizeof(double))", flags=frozenset((horizontal_operation, non_assign_operation))),
515 operation("unpack_double_2x32", 1, printable_name="unpackDouble2x32", source_types=(double_type,), dest_type=uint_type, c_expression="memcpy(&data.u[0], &op[0]->value.d[0], sizeof(double))", flags=frozenset((horizontal_operation, non_assign_operation))),
609 (double_type, (double_type, int_type))),