/external/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 203 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint() local 205 std::string Tok = CStr.substr(start, wpos - start); in ParseConstraint() 207 std::string Name = CStr.substr(wpos+1); in ParseConstraint() 208 wpos = Name.find_first_not_of(" \t"); in ParseConstraint() 209 if (wpos == std::string::npos) in ParseConstraint() 211 Name = Name.substr(wpos); in ParseConstraint() 229 wpos = Name.find_first_of(" \t"); in ParseConstraint() 230 if (wpos == std::string::npos) in ParseConstraint() 232 std::string DestOpName = Name.substr(0, wpos); in ParseConstraint() 236 wpos = Name.find_first_not_of(" \t"); in ParseConstraint() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_fragprog.c | 165 GLfloat *wpos = span->array->attribs[FRAG_ATTRIB_WPOS][col]; in init_machine() local 174 wpos[1] = ctx->DrawBuffer->Height - 1 - wpos[1]; in init_machine() 176 wpos[0] += 0.5F; in init_machine() 177 wpos[1] += 0.5F; in init_machine()
|
D | s_span.c | 624 GLfloat (*wpos)[4] = span->array->attribs[FRAG_ATTRIB_WPOS]; in interpolate_wpos() local 631 wpos[i][0] = (GLfloat) span->array->x[i]; in interpolate_wpos() 632 wpos[i][1] = (GLfloat) span->array->y[i]; in interpolate_wpos() 637 wpos[i][0] = (GLfloat) span->x + i; in interpolate_wpos() 638 wpos[i][1] = (GLfloat) span->y; in interpolate_wpos() 645 wpos[i][2] = (GLfloat) span->array->z[i] * zScale; in interpolate_wpos() 646 wpos[i][3] = w; in interpolate_wpos()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_shader_semantics.h | 44 int wpos; member 56 info->wpos = ATTR_UNUSED; in r300_shader_semantics_reset()
|
D | r300_fs.c | 73 fs_inputs->wpos = i; in r300_shader_read_fs_inputs() 140 if (inputs->wpos != ATTR_UNUSED) { in allocate_hardware_inputs() 141 allocate(mydata, inputs->wpos, reg++); in allocate_hardware_inputs() 434 int wpos, face; in r300_translate_fragment_shader() local 440 wpos = shader->inputs.wpos; in r300_translate_fragment_shader() 507 if (wpos != ATTR_UNUSED) { in r300_translate_fragment_shader() 509 rc_transform_fragment_wpos(&compiler.Base, wpos, wpos, TRUE); in r300_translate_fragment_shader()
|
D | r300_vs.c | 102 vs_outputs->wpos = i; in r300_shader_read_vs_outputs() 169 c->code->outputs[outputs->wpos] = reg++; in set_vertex_inputs_outputs() 255 rc_copy_output(&compiler.Base, 0, vs->outputs.wpos); in r300_translate_vertex_shader()
|
D | r300_state_derived.c | 125 if (r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED && gen_count < 8) { in r300_draw_emit_all_attribs() 127 vs_outputs->wpos); in r300_draw_emit_all_attribs() 129 vs_outputs->wpos); in r300_draw_emit_all_attribs() 535 if (fs_inputs->wpos != ATTR_UNUSED && tex_count < 8) { in r300_update_rs_block() 553 if (fs_inputs->wpos != ATTR_UNUSED && tex_count >= 8) { in r300_update_rs_block()
|
D | r300_vs_draw.c | 375 vs->outputs.wpos = vs->outputs.generic[transform.last_generic + 1]; in r300_draw_init_vertex_shader()
|
D | r300_state.c | 1642 r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED) { in r300_set_viewport_state()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_fs.cpp | 601 fs_reg wpos = *reg; in emit_fragcoord_interpolation() local 606 emit(BRW_OPCODE_MOV, wpos, this->pixel_x); in emit_fragcoord_interpolation() 608 emit(BRW_OPCODE_ADD, wpos, this->pixel_x, fs_reg(0.5f)); in emit_fragcoord_interpolation() 610 wpos.reg_offset++; in emit_fragcoord_interpolation() 614 emit(BRW_OPCODE_MOV, wpos, this->pixel_y); in emit_fragcoord_interpolation() 624 emit(BRW_OPCODE_ADD, wpos, pixel_y, fs_reg(offset)); in emit_fragcoord_interpolation() 626 wpos.reg_offset++; in emit_fragcoord_interpolation() 630 emit(BRW_OPCODE_MOV, wpos, in emit_fragcoord_interpolation() 633 emit(FS_OPCODE_LINTERP, wpos, in emit_fragcoord_interpolation() 638 wpos.reg_offset++; in emit_fragcoord_interpolation() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_compiler.h | 108 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input,
|
D | radeon_compiler.c | 235 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input, in rc_transform_fragment_wpos() argument 244 c->Program.InputsRead &= ~(1 << wpos); in rc_transform_fragment_wpos() 305 inst->U.I.SrcReg[i].Index == wpos) { in rc_transform_fragment_wpos()
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.cpp | 1415 static void updateHashChain(Hash* hash, size_t wpos, int hashval) in updateHashChain() argument 1417 hash->val[wpos] = hashval; in updateHashChain() 1418 if(hash->head[hashval] != -1) hash->chain[wpos] = hash->head[hashval]; in updateHashChain() 1419 hash->head[hashval] = wpos; in updateHashChain() 1459 size_t wpos = pos & (windowsize - 1); /*position for in 'circular' hash buffers*/ in encodeLZ77() local 1463 updateHashChain(hash, wpos, hashval); in encodeLZ77() 1469 hash->zeros[wpos] = numzeros; in encodeLZ77() 1489 if(prevpos < wpos && hashpos > prevpos && hashpos <= wpos) break; in encodeLZ77() 1490 if(prevpos > wpos && (hashpos <= wpos || hashpos > prevpos)) break; in encodeLZ77() 1493 current_offset = hashpos <= wpos ? wpos - hashpos : wpos - hashpos + windowsize; in encodeLZ77() [all …]
|