Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dtest_fs_saturate_propagation.cpp104 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
107 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
139 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
140 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
141 fs_reg dst2 = v->vgrf(glsl_type::float_type); in TEST_F()
142 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
143 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
177 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
[all …]
Dtest_fs_cmod_propagation.cpp104 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
136 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
137 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
138 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
201 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
202 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
203 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
204 fs_reg src2 = v->vgrf(glsl_type::float_type); in TEST_F()
[all …]
Dtest_vec4_cmod_propagation.cpp146 dst_reg dest = dst_reg(v, glsl_type::float_type); in TEST_F()
147 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F()
148 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F()
182 dst_reg dest = dst_reg(v, glsl_type::float_type); in TEST_F()
183 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F()
184 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F()
220 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F()
288 dst_reg dest = dst_reg(v, glsl_type::float_type); in TEST_F()
289 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F()
290 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F()
[all …]
Dtest_fs_copy_propagation.cpp104 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
107 fs_reg vgrf3 = v->vgrf(glsl_type::float_type); in TEST_F()
146 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
147 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
148 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
Dtest_vec4_register_coalesce.cpp130 src_reg something = src_reg(v, glsl_type::float_type); in TEST_F()
131 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F()
149 src_reg something = src_reg(v, glsl_type::float_type); in TEST_F()
183 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F()
201 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F()
227 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F()
Dbrw_cubemap_normalize.cpp81 glsl_type::float_type, in visit_leave()
85 glsl_type::float_type, in visit_leave()
89 glsl_type::float_type, in visit_leave()
Dbrw_fs_visitor.cpp237 this->wpos_w = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen4()
241 this->pixel_w = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen4()
271 this->pixel_x = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
272 this->pixel_y = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
299 this->pixel_x = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
300 this->pixel_y = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
307 this->wpos_w = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
Dbrw_fs_sel_peephole.cpp201 src0 = vgrf(glsl_type::float_type); in opt_peephole_sel()
Dbrw_vec4_tes.cpp188 src_reg(ATTR, 1, glsl_type::float_type))); in nir_emit_intrinsic()
/external/mesa3d/src/compiler/glsl/
Dir_expression_operation.py83 float_type = type("float", "f", "GLSL_TYPE_FLOAT") variable
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)
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.cpp55 glsl_struct_field(glsl_type::float_type, "near"),
56 glsl_struct_field(glsl_type::float_type, "far"),
57 glsl_struct_field(glsl_type::float_type, "diff"),
61 glsl_struct_field(glsl_type::float_type, "size"),
62 glsl_struct_field(glsl_type::float_type, "sizeMin"),
63 glsl_struct_field(glsl_type::float_type, "sizeMax"),
64 glsl_struct_field(glsl_type::float_type, "fadeThresholdSize"),
65 glsl_struct_field(glsl_type::float_type, "distanceConstantAttenuation"),
66 glsl_struct_field(glsl_type::float_type, "distanceLinearAttenuation"),
67 glsl_struct_field(glsl_type::float_type, "distanceQuadraticAttenuation"),
[all …]
Dbuiltin_functions.cpp1139 _##NAME(glsl_type::float_type), \ in create_builtins()
1147 _##NAME(always_available, glsl_type::float_type), \ in create_builtins()
1159 _##NAME(v130, glsl_type::float_type), \ in create_builtins()
1171 _##NAME(gpu_shader5_es, glsl_type::float_type), \ in create_builtins()
1183 _##NAME(glsl_type::float_type), \ in create_builtins()
1195 _##NAME(always_available, glsl_type::float_type), \ in create_builtins()
1265 _##NAME(always_available, glsl_type::float_type, glsl_type::float_type), \ in create_builtins()
1266 _##NAME(always_available, glsl_type::vec2_type, glsl_type::float_type), \ in create_builtins()
1267 _##NAME(always_available, glsl_type::vec3_type, glsl_type::float_type), \ in create_builtins()
1268 _##NAME(always_available, glsl_type::vec4_type, glsl_type::float_type), \ in create_builtins()
[all …]
Dlower_blend_equation_advanced.cpp219 ir_variable *llum = f->make_temp(glsl_type::float_type, "__blend_lum"); in set_lum()
220 ir_variable *mincol = f->make_temp(glsl_type::float_type, "__blend_mincol"); in set_lum()
221 ir_variable *maxcol = f->make_temp(glsl_type::float_type, "__blend_maxcol"); in set_lum()
253 ir_variable *sbase = f->make_temp(glsl_type::float_type, "__blend_sbase"); in set_lum_sat()
299 ir_variable *src_alpha = f.make_temp(glsl_type::float_type, "__blend_src_a"); in calc_blend_result()
306 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()
Dlower_tess_level.cpp116 assert(ir->type->fields.array == glsl_type::float_type); in visit()
133 assert(ir->type->fields.array == glsl_type::float_type); in visit()
168 if (ir->type->fields.array != glsl_type::float_type) in is_tess_level_array()
197 if (ir->type->fields.array != glsl_type::float_type) in lower_tess_level_array()
Dlower_distance.cpp184 assert (ir->type->fields.array == glsl_type::float_type); in visit()
198 assert (ir->type->fields.array->fields.array == glsl_type::float_type); in visit()
299 if (ir->type->fields.array != glsl_type::float_type) in is_distance_vec8()
333 if (ir->type->fields.array != glsl_type::float_type) in lower_distance_vec8()
Dir_builder_print_visitor.cpp101 ir->type == glsl_type::float_type || in is_simple_operand()
353 ir->type == glsl_type::float_type || in visit()
/external/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp52 var_a = new(mem_ctx) ir_variable(glsl_type::float_type, in SetUp()
56 var_b = new(mem_ctx) ir_variable(glsl_type::float_type, in SetUp()
60 var_c = new(mem_ctx) ir_variable(glsl_type::float_type, in SetUp()
/external/llvm/test/Bindings/OCaml/
Dcore.ml34 let float_type = Llvm.float_type context var
171 let cs = const_float float_type 2.75 in
173 insist (float_type = type_of cs);
342 ignore (define_global "const_fptrunc" (const_fptrunc ffoldbomb float_type) m);
470 insist (pointer_type float_type ==
471 type_of (declare_global float_type "GVar01" m));
479 insist (qualified_pointer_type float_type 3 ==
480 type_of (declare_qualified_global float_type "QGVar01" 3 m));
955 let f1 = build_uitofp p1 float_type "F1" atentry in
956 let f2 = build_uitofp p2 float_type "F2" atentry in
[all …]
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dvmcore.ml28 let float_type = Llvm.float_type context var
135 let cs = const_float float_type 2.75 in
137 insist (float_type = type_of cs);
290 ignore (define_global "const_fptrunc" (const_fptrunc ffoldbomb float_type) m);
408 insist (pointer_type float_type ==
409 type_of (declare_global float_type "GVar01" m));
417 insist (qualified_pointer_type float_type 3 ==
418 type_of (declare_qualified_global float_type "QGVar01" 3 m));
854 let f1 = build_uitofp p1 float_type "F1" atentry in
855 let f2 = build_uitofp p2 float_type "F2" atentry in
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl3cClipDistance.hpp409 const std::type_info& float_type = typeid(glw::GLfloat); in useAsShaderInput() local
418 if (buffer_type == float_type) in useAsShaderInput()
/external/compiler-rt/cmake/Modules/
DCompilerRTDarwinUtils.cmake434 foreach(float_type SOFT HARD)
436 string(TOLOWER "${float_type}_${type}" lib_suffix)
437 foreach(arch ${DARWIN_${float_type}_FLOAT_ARCHS})
443 set(float_flag ${${float_type}_FLOAT_FLAG})
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c221 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context); in create_jit_context_type() local
226 elem_types[0] = LLVMArrayType(LLVMPointerType(float_type, 0), /* vs_constants */ in create_jit_context_type()
230 elem_types[2] = LLVMPointerType(LLVMArrayType(LLVMArrayType(float_type, 4), in create_jit_context_type()
232 elem_types[3] = LLVMPointerType(float_type, 0); /* viewports */ in create_jit_context_type()
272 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context); in create_gs_jit_context_type() local
277 elem_types[0] = LLVMArrayType(LLVMPointerType(float_type, 0), /* constants */ in create_gs_jit_context_type()
281 elem_types[2] = LLVMPointerType(LLVMArrayType(LLVMArrayType(float_type, 4), in create_gs_jit_context_type()
283 elem_types[3] = LLVMPointerType(float_type, 0); /* viewports */ in create_gs_jit_context_type()
333 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context); in create_gs_jit_input_type() local
336 input_array = LLVMVectorType(float_type, TGSI_NUM_CHANNELS); /* num primitives */ in create_gs_jit_input_type()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc919 llvm::Type* float_type; in EmitCallToRuntime() local
926 float_type = ir_builder_->getFloatTy(); in EmitCallToRuntime()
932 float_type = ir_builder_->getDoubleTy(); in EmitCallToRuntime()
939 llvm::Type* float_ptr_type = float_type->getPointerTo(); in EmitCallToRuntime()
/external/mesa3d/src/compiler/
Dnir_types.cpp252 return glsl_type::float_type; in glsl_float_type()
Dglsl_types.cpp352 return float_type; in get_base_type()
378 return float_type; in get_scalar_type()
466 float_type, vec2_type, vec3_type, vec4_type in vec()

12