/third_party/mesa3d/src/intel/compiler/ |
D | test_fs_saturate_propagation.cpp | 116 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F() 117 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F() 118 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F() 119 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() 151 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F() 152 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F() 153 fs_reg dst2 = v->vgrf(glsl_type::float_type); in TEST_F() 154 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F() 155 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() 189 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F() [all …]
|
D | test_fs_cmod_propagation.cpp | 126 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F() 127 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F() 128 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() 158 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F() 159 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F() 160 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() 192 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F() 193 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F() 194 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F() 289 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F() [all …]
|
D | test_vec4_cmod_propagation.cpp | 158 dst_reg dest = dst_reg(v, glsl_type::float_type); in TEST_F() 159 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F() 160 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F() 194 dst_reg dest = dst_reg(v, glsl_type::float_type); in TEST_F() 195 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F() 196 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F() 232 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F() 300 dst_reg dest = dst_reg(v, glsl_type::float_type); in TEST_F() 301 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F() 302 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F() [all …]
|
D | test_fs_copy_propagation.cpp | 115 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F() 116 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F() 117 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F() 118 fs_reg vgrf3 = v->vgrf(glsl_type::float_type); in TEST_F() 157 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F() 158 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F() 159 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
|
D | test_vec4_register_coalesce.cpp | 140 src_reg something = src_reg(v, glsl_type::float_type); in TEST_F() 141 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F() 159 src_reg something = src_reg(v, glsl_type::float_type); in TEST_F() 193 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F() 211 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F() 237 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | ir_expression_operation.py | 86 float_type = type("float", "f", "GLSL_TYPE_FLOAT") variable 90 all_types = (uint_type, int_type, float_type, double_type, uint64_type, int64_type, bool_type) 91 numeric_types = (uint_type, int_type, float_type, double_type, uint64_type, int64_type) 92 signed_numeric_types = (int_type, float_type, double_type, int64_type) 94 real_types = (float_type, double_type) 426 …operation("exp", 1, source_types=(float_type,), c_expression="expf({src0})"), # Log base e… 427 …operation("log", 1, source_types=(float_type,), c_expression="logf({src0})"), # Natural lo… 428 operation("exp2", 1, source_types=(float_type,), c_expression="exp2f({src0})"), 429 operation("log2", 1, source_types=(float_type,), c_expression="log2f({src0})"), 432 operation("f2i", 1, source_types=(float_type,), dest_type=int_type, c_expression="(int) {src0}"), [all …]
|
D | builtin_types.cpp | 56 glsl_struct_field(glsl_type::float_type, GLSL_PRECISION_HIGH, "near"), 57 glsl_struct_field(glsl_type::float_type, GLSL_PRECISION_HIGH, "far"), 58 glsl_struct_field(glsl_type::float_type, GLSL_PRECISION_HIGH, "diff"), 62 glsl_struct_field(glsl_type::float_type, "size"), 63 glsl_struct_field(glsl_type::float_type, "sizeMin"), 64 glsl_struct_field(glsl_type::float_type, "sizeMax"), 65 glsl_struct_field(glsl_type::float_type, "fadeThresholdSize"), 66 glsl_struct_field(glsl_type::float_type, "distanceConstantAttenuation"), 67 glsl_struct_field(glsl_type::float_type, "distanceLinearAttenuation"), 68 glsl_struct_field(glsl_type::float_type, "distanceQuadraticAttenuation"), [all …]
|
D | builtin_functions.cpp | 1495 glsl_type::float_type, in create_intrinsics() 1511 glsl_type::float_type, in create_intrinsics() 1530 glsl_type::float_type, in create_intrinsics() 1600 glsl_type::float_type, in create_intrinsics() 1616 glsl_type::float_type, in create_intrinsics() 1677 _read_invocation_intrinsic(glsl_type::float_type), in create_intrinsics() 1694 _read_first_invocation_intrinsic(glsl_type::float_type), in create_intrinsics() 1727 _##NAME(glsl_type::float_type), \ in create_builtins() 1735 _##NAME(always_available, glsl_type::float_type), \ in create_builtins() 1747 _##NAME(v130, glsl_type::float_type), \ in create_builtins() [all …]
|
D | lower_blend_equation_advanced.cpp | 221 ir_variable *llum = f->make_temp(glsl_type::float_type, "__blend_lum"); in set_lum() 222 ir_variable *mincol = f->make_temp(glsl_type::float_type, "__blend_mincol"); in set_lum() 223 ir_variable *maxcol = f->make_temp(glsl_type::float_type, "__blend_maxcol"); in set_lum() 255 ir_variable *sbase = f->make_temp(glsl_type::float_type, "__blend_sbase"); in set_lum_sat() 301 ir_variable *src_alpha = f.make_temp(glsl_type::float_type, "__blend_src_a"); in calc_blend_result() 308 ir_variable *dst_alpha = f.make_temp(glsl_type::float_type, "__blend_dst_a"); in calc_blend_result() 400 ir_variable *p0 = f.make_temp(glsl_type::float_type, "__blend_p0"); in calc_blend_result() 401 ir_variable *p1 = f.make_temp(glsl_type::float_type, "__blend_p1"); in calc_blend_result() 402 ir_variable *p2 = f.make_temp(glsl_type::float_type, "__blend_p2"); in calc_blend_result()
|
/third_party/spirv-tools/source/opt/ |
D | const_folding_rules.cpp | 29 const analysis::Float* float_type = type->AsFloat(); in GetNan() local 30 if (float_type == nullptr) { in GetNan() 34 switch (float_type->width()) { in GetNan() 49 const analysis::Float* float_type = type->AsFloat(); in GetInf() local 50 if (float_type == nullptr) { in GetInf() 54 switch (float_type->width()) { in GetInf() 80 const analysis::Float* float_type = result_type->AsFloat(); in NegateFPConst() local 81 assert(float_type != nullptr); in NegateFPConst() 82 if (float_type->width() == 32) { in NegateFPConst() 85 } else if (float_type->width() == 64) { in NegateFPConst() [all …]
|
D | type_manager.h | 157 Float float_type(32); in GetFloatType() 158 return GetRegisteredType(&float_type); in GetFloatType() 164 Float float_type(64); in GetDoubleType() 165 return GetRegisteredType(&float_type); in GetDoubleType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | const_folding_rules.cpp | 29 const analysis::Float* float_type = type->AsFloat(); in GetNan() local 30 if (float_type == nullptr) { in GetNan() 34 switch (float_type->width()) { in GetNan() 49 const analysis::Float* float_type = type->AsFloat(); in GetInf() local 50 if (float_type == nullptr) { in GetInf() 54 switch (float_type->width()) { in GetInf() 80 const analysis::Float* float_type = result_type->AsFloat(); in negateFPConst() local 81 assert(float_type != nullptr); in negateFPConst() 82 if (float_type->width() == 32) { in negateFPConst() 85 } else if (float_type->width() == 64) { in negateFPConst() [all …]
|
D | type_manager.h | 157 Float float_type(32); in GetFloatType() 158 return GetRegisteredType(&float_type); in GetFloatType() 164 Float float_type(64); in GetDoubleType() 165 return GetRegisteredType(&float_type); in GetDoubleType()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | const_folding_rules.cpp | 160 const analysis::Float* float_type = element_type->AsFloat(); in FoldVectorTimesScalar() local 161 assert(float_type != nullptr); in FoldVectorTimesScalar() 172 if (float_type->width() == 32) { in FoldVectorTimesScalar() 178 const_mgr->GetConstant(float_type, words); in FoldVectorTimesScalar() 182 } else if (float_type->width() == 64) { in FoldVectorTimesScalar() 189 const_mgr->GetConstant(float_type, words); in FoldVectorTimesScalar() 375 const analysis::Float* float_type = a->type()->AsFloat(); in FoldFToIOp() local 376 assert(float_type != nullptr); in FoldFToIOp() 379 if (float_type->width() == 32) { in FoldFToIOp() 386 } else if (float_type->width() == 64) { in FoldFToIOp() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_equation_instruction.cpp | 177 } else if (const auto* float_type = vector->element_type()->AsFloat()) { in MaybeGetResultTypeId() local 179 ir_context, float_type->width(), true); in MaybeGetResultTypeId() 184 ir_context, float_type->width(), false); in MaybeGetResultTypeId() 199 } else if (const auto* float_type = operand_type->AsFloat()) { in MaybeGetResultTypeId() local 201 ir_context, float_type->width(), true)) { in MaybeGetResultTypeId() 205 return fuzzerutil::MaybeGetIntegerType(ir_context, float_type->width(), in MaybeGetResultTypeId()
|
D | force_render_red.cpp | 121 opt::IRContext* ir_context, opt::analysis::Float* float_type) { in FindOrCreateFloatZeroAndOne() argument 128 MakeUnique<opt::analysis::FloatConstant>(float_type, zero_bytes)); in FindOrCreateFloatZeroAndOne() 130 MakeUnique<opt::analysis::FloatConstant>(float_type, one_bytes)); in FindOrCreateFloatZeroAndOne() 198 opt::analysis::Float* float_type = ir_context->get_type_mgr() in ForceRenderRed() local 202 FindOrCreateFloatZeroAndOne(ir_context.get(), float_type); in ForceRenderRed() 229 auto temp_vec4 = opt::analysis::Vector(float_type, 4); in ForceRenderRed() 262 auto float_type_id = ir_context->get_type_mgr()->GetId(float_type); in ForceRenderRed()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_equation_instruction.cpp | 177 } else if (const auto* float_type = vector->element_type()->AsFloat()) { in MaybeGetResultTypeId() local 179 ir_context, float_type->width(), true); in MaybeGetResultTypeId() 184 ir_context, float_type->width(), false); in MaybeGetResultTypeId() 199 } else if (const auto* float_type = operand_type->AsFloat()) { in MaybeGetResultTypeId() local 201 ir_context, float_type->width(), true)) { in MaybeGetResultTypeId() 205 return fuzzerutil::MaybeGetIntegerType(ir_context, float_type->width(), in MaybeGetResultTypeId()
|
D | force_render_red.cpp | 121 opt::IRContext* ir_context, opt::analysis::Float* float_type) { in FindOrCreateFloatZeroAndOne() argument 128 MakeUnique<opt::analysis::FloatConstant>(float_type, zero_bytes)); in FindOrCreateFloatZeroAndOne() 130 MakeUnique<opt::analysis::FloatConstant>(float_type, one_bytes)); in FindOrCreateFloatZeroAndOne() 198 opt::analysis::Float* float_type = ir_context->get_type_mgr() in ForceRenderRed() local 202 FindOrCreateFloatZeroAndOne(ir_context.get(), float_type); in ForceRenderRed() 229 auto temp_vec4 = opt::analysis::Vector(float_type, 4); in ForceRenderRed() 262 auto float_type_id = ir_context->get_type_mgr()->GetId(float_type); in ForceRenderRed()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_equation_instruction.cpp | 177 } else if (const auto* float_type = vector->element_type()->AsFloat()) { in MaybeGetResultTypeId() local 179 ir_context, float_type->width(), true); in MaybeGetResultTypeId() 184 ir_context, float_type->width(), false); in MaybeGetResultTypeId() 199 } else if (const auto* float_type = operand_type->AsFloat()) { in MaybeGetResultTypeId() local 201 ir_context, float_type->width(), true)) { in MaybeGetResultTypeId() 205 return fuzzerutil::MaybeGetIntegerType(ir_context, float_type->width(), in MaybeGetResultTypeId()
|
D | force_render_red.cpp | 121 opt::IRContext* ir_context, opt::analysis::Float* float_type) { in FindOrCreateFloatZeroAndOne() argument 128 MakeUnique<opt::analysis::FloatConstant>(float_type, zero_bytes)); in FindOrCreateFloatZeroAndOne() 130 MakeUnique<opt::analysis::FloatConstant>(float_type, one_bytes)); in FindOrCreateFloatZeroAndOne() 198 opt::analysis::Float* float_type = ir_context->get_type_mgr() in ForceRenderRed() local 202 FindOrCreateFloatZeroAndOne(ir_context.get(), float_type); in ForceRenderRed() 229 auto temp_vec4 = opt::analysis::Vector(float_type, 4); in ForceRenderRed() 262 auto float_type_id = ir_context->get_type_mgr()->GetId(float_type); in ForceRenderRed()
|
/third_party/libsnd/tests/ |
D | scale_clip_test.tpl | 48 [+ FOR float_type +] 52 +][+ ENDFOR float_type +] 54 [+ FOR float_type +] 58 +][+ ENDFOR float_type +] 61 [+ FOR float_type 63 [+ ENDFOR float_type 122 [+ FOR float_type +] 256 [+ ENDFOR float_type +] 261 [+ FOR float_type +] 337 +][+ ENDFOR float_type +] [all …]
|
D | floating_point_test.def | 13 float_type = { 18 float_type = {
|
D | utils.def | 3 float_type = { 7 float_type = {
|
D | scale_clip_test.def | 3 float_type = { 10 float_type = {
|
/third_party/mesa3d/src/compiler/glsl/tests/ |
D | opt_add_neg_to_sub_test.cpp | 54 var_a = new(mem_ctx) ir_variable(glsl_type::float_type, in SetUp() 58 var_b = new(mem_ctx) ir_variable(glsl_type::float_type, in SetUp() 62 var_c = new(mem_ctx) ir_variable(glsl_type::float_type, in SetUp()
|