| /xsrc/external/mit/MesaLib/dist/include/ |
| c99_math.h | 55 long int rounded = (long int)(d + 0.5); local 58 if (rounded % 2 != 0) 59 rounded += (d > 0) ? -1 : 1; 62 return rounded; 68 long int rounded = (long int)(f + 0.5f); local 71 if (rounded % 2 != 0) 72 rounded += (f > 0) ? -1 : 1; 75 return rounded; 81 long long int rounded = (long long int)(d + 0.5); local 84 if (rounded % 2 != 0 94 long long int rounded = (long long int)(f + 0.5f); local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/include/ |
| c99_math.h | 55 long int rounded = (long int)(d + 0.5); local 58 if (rounded % 2 != 0) 59 rounded += (d > 0) ? -1 : 1; 62 return rounded; 68 long int rounded = (long int)(f + 0.5f); local 71 if (rounded % 2 != 0) 72 rounded += (f > 0) ? -1 : 1; 75 return rounded; 81 long long int rounded = (long long int)(d + 0.5); local 84 if (rounded % 2 != 0 94 long long int rounded = (long long int)(f + 0.5f); local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/ |
| midgard_opt_dce.c | 86 unsigned rounded = mir_round_bytemask_up(live[ins->dest], round_size); local 87 unsigned cmask = mir_from_bytemask(rounded, type_size);
|
| mir_promote_uniforms.c | 335 uint16_t rounded = mir_round_bytemask_up(mir_bytemask(ins), type_size); local 336 mir_set_bytemask(&mov, rounded);
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| brw_vec4_visitor.cpp | 529 dst_reg rounded(this, glsl_type::vec4_type); 530 emit(RNDE(rounded, src_reg(scaled))); 533 emit(MOV(u, src_reg(rounded))); 551 dst_reg rounded(this, glsl_type::vec4_type); 552 emit(RNDE(rounded, src_reg(scaled))); 555 emit(MOV(i, src_reg(rounded)));
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| brw_vec4_visitor.cpp | 542 dst_reg rounded(this, glsl_type::vec4_type); 543 emit(RNDE(rounded, src_reg(scaled))); 546 emit(MOV(u, src_reg(rounded))); 564 dst_reg rounded(this, glsl_type::vec4_type); 565 emit(RNDE(rounded, src_reg(scaled))); 568 emit(MOV(i, src_reg(rounded)));
|
| /xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/ |
| addrelemlib.cpp | 209 UINT_64 truncated, rounded; local 241 rounded = static_cast<INT_32>((round + truncated) >> 8); 242 //if (rounded > ((1<<bits) - 1)) 243 // rounded = ((1<<bits) - 1); 244 *pResult = static_cast<INT_32>(rounded); //(INT_32)final;
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/addrlib/src/core/ |
| addrelemlib.cpp | 209 UINT_64 truncated, rounded; local 241 rounded = static_cast<INT_32>((round + truncated) >> 8); 242 //if (rounded > ((1<<bits) - 1)) 243 // rounded = ((1<<bits) - 1); 244 *pResult = static_cast<INT_32>(rounded); //(INT_32)final;
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/addrlib/src/core/core/ |
| addrelemlib.cpp | 209 UINT_64 truncated, rounded; local 241 rounded = static_cast<INT_32>((round + truncated) >> 8); 242 //if (rounded > ((1<<bits) - 1)) 243 // rounded = ((1<<bits) - 1); 244 *pResult = static_cast<INT_32>(rounded); //(INT_32)final;
|