Home
last modified time | relevance | path

Searched refs:float_type (Results 1 – 25 of 80) sorted by relevance

1234

/third_party/mesa3d/src/intel/compiler/
Dtest_fs_saturate_propagation.cpp116 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 …]
Dtest_fs_cmod_propagation.cpp126 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 …]
Dtest_vec4_cmod_propagation.cpp158 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 …]
Dtest_fs_copy_propagation.cpp115 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()
Dtest_vec4_register_coalesce.cpp140 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/
Dir_expression_operation.py86 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 …]
Dbuiltin_types.cpp56 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 …]
Dbuiltin_functions.cpp1495 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 …]
Dlower_blend_equation_advanced.cpp221 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/
Dconst_folding_rules.cpp29 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 …]
Dtype_manager.h157 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/
Dconst_folding_rules.cpp29 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 …]
Dtype_manager.h157 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/
Dconst_folding_rules.cpp160 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/
Dtransformation_equation_instruction.cpp177 } 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()
Dforce_render_red.cpp121 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/
Dtransformation_equation_instruction.cpp177 } 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()
Dforce_render_red.cpp121 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/
Dtransformation_equation_instruction.cpp177 } 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()
Dforce_render_red.cpp121 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/
Dscale_clip_test.tpl48 [+ 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 …]
Dfloating_point_test.def13 float_type = {
18 float_type = {
Dutils.def3 float_type = {
7 float_type = {
Dscale_clip_test.def3 float_type = {
10 float_type = {
/third_party/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp54 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()

1234