/external/mesa3d/src/compiler/nir/ |
nir_lower_wpos_center.c | 51 nir_ssa_def *wpos = &intr->dest.ssa; local 58 wpos = nir_fadd(b, wpos, nir_imm_vec4(b, 0.5f, 0.5f, 0.0f, 0.0f)); 63 wpos = nir_fadd(b, wpos, 71 nir_ssa_def_rewrite_uses_after(&intr->dest.ssa, nir_src_for_ssa(wpos), 72 wpos->parent_instr);
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_shader_semantics.h | 44 int wpos; member in struct:r300_shader_semantics 58 info->wpos = ATTR_UNUSED;
|
r300_fs.c | 73 fs_inputs->wpos = i; 140 if (inputs->wpos != ATTR_UNUSED) { 141 allocate(mydata, inputs->wpos, reg++); 421 int wpos, face; local 427 wpos = shader->inputs.wpos; 484 * Transform the program to support WPOS. 487 * the only code that directly reads the WPOS input. 490 if (wpos != ATTR_UNUSED) { 492 rc_transform_fragment_wpos(&compiler.Base, wpos, wpos, TRUE) [all...] |
r300_vs.c | 102 /* WPOS is a straight copy of POSITION and it's always emitted. */ 103 vs_outputs->wpos = i; 169 /* WPOS. */ 170 c->code->outputs[outputs->wpos] = reg++; 255 /* Insert the WPOS output. */ 256 rc_copy_output(&compiler.Base, 0, vs->outputs.wpos);
|
r300_state_derived.c | 117 /* WPOS. */ 118 if (r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED && gen_count < 8) { 119 DBG(r300, DBG_SWTCL, "draw_emit_attrib: WPOS, index: %i\n", 120 vs_outputs->wpos); 121 r300_draw_emit_attrib(r300, EMIT_4F, vs_outputs->wpos); 436 * (number of generic varyings + fog + wpos > 8) */ 440 (fs_inputs->wpos != ATTR_UNUSED) > 8) { 578 /* Rasterize WPOS. */ 580 if (fs_inputs->wpos != ATTR_UNUSED && tex_count < 8) { 581 /* Set up the WPOS coordinates in VAP. * [all...] |
r300_vs_draw.c | 35 * 3) Insert a trailing texcoord output containing a copy of POS, for WPOS. 61 * output for WPOS. */ 232 /* Insert the generic output for WPOS. */ 374 /* Make the last generic be WPOS. */ 375 vs->outputs.wpos = vs->outputs.generic[transform.last_generic + 1];
|
r300_state.c | [all...] |
/frameworks/base/cmds/incidentd/src/ |
FdBuffer.cpp | 155 int rpos = 0, wpos = 0; local 202 if (rpos >= wpos) { 205 amt = TEMP_FAILURE_RETRY(::read(fd, cirBuf + rpos, wpos - rpos)); 224 if (rpos > wpos) { 225 amt = TEMP_FAILURE_RETRY(::write(toFd.get(), cirBuf + wpos, rpos - wpos)); 227 amt = TEMP_FAILURE_RETRY(::write(toFd.get(), cirBuf + wpos, BUFFER_SIZE - wpos)); 235 wpos += amt; 247 // circular buffer, reset rpos and wpos [all...] |
/device/google/bonito/json-c/ |
json_util.c | 105 unsigned int wpos, wsize; local 124 wpos = 0; 125 while(wpos < wsize) { 126 if((ret = write(fd, json_str + wpos, wsize-wpos)) < 0) { 134 wpos += (unsigned int)ret;
|
/device/google/crosshatch/json-c/ |
json_util.c | 105 unsigned int wpos, wsize; local 124 wpos = 0; 125 while(wpos < wsize) { 126 if((ret = write(fd, json_str + wpos, wsize-wpos)) < 0) { 134 wpos += (unsigned int)ret;
|
/external/mesa3d/src/mesa/swrast/ |
s_fragprog.c | 164 GLfloat *wpos = span->array->attribs[VARYING_SLOT_POS][col]; local 168 wpos[1] = ctx->DrawBuffer->Height - 1 - wpos[1]; 170 wpos[0] += 0.5F; 171 wpos[1] += 0.5F;
|
s_span.c | 627 GLfloat (*wpos)[4] = span->array->attribs[VARYING_SLOT_POS]; 634 wpos[i][0] = (GLfloat) span->array->x[i]; 635 wpos[i][1] = (GLfloat) span->array->y[i]; 640 wpos[i][0] = (GLfloat) span->x + i; 641 wpos[i][1] = (GLfloat) span->y; 648 wpos[i][2] = (GLfloat) span->array->z[i] * zScale; 649 wpos[i][3] = w; 1004 /* XXX always interpolate wpos so that DDX/DDY work */ [all...] |
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
CodeGenInstruction.cpp | 200 std::string::size_type wpos = CStr.find_first_of(" \t"); local 202 std::string Tok = CStr.substr(start, wpos - start); 204 std::string Name = CStr.substr(wpos+1); 205 wpos = Name.find_first_not_of(" \t"); 206 if (wpos == std::string::npos) 208 Name = Name.substr(wpos); 226 wpos = Name.find_first_of(" \t"); 227 if (wpos == std::string::npos) 229 std::string DestOpName = Name.substr(0, wpos); 233 wpos = Name.find_first_not_of(" \t") [all...] |
/external/llvm/utils/TableGen/ |
CodeGenInstruction.cpp | 206 std::string::size_type wpos = CStr.find_first_of(" \t"); local 208 std::string Tok = CStr.substr(start, wpos - start); 210 std::string Name = CStr.substr(wpos+1); 211 wpos = Name.find_first_not_of(" \t"); 212 if (wpos == std::string::npos) 214 Name = Name.substr(wpos); 232 wpos = Name.find_first_of(" \t"); 233 if (wpos == std::string::npos) 235 std::string DestOpName = Name.substr(0, wpos); 239 wpos = Name.find_first_not_of(" \t") [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
CodeGenInstruction.cpp | 207 std::string::size_type wpos = CStr.find_first_of(" \t"); local 209 std::string Tok = CStr.substr(start, wpos - start); 211 std::string Name = CStr.substr(wpos+1); 212 wpos = Name.find_first_not_of(" \t"); 213 if (wpos == std::string::npos) 215 Name = Name.substr(wpos); 233 wpos = Name.find_first_of(" \t"); 234 if (wpos == std::string::npos) 236 std::string DestOpName = Name.substr(0, wpos); 240 wpos = Name.find_first_not_of(" \t") [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_compiler.h | 107 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input,
|
radeon_compiler.c | 237 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input, 246 c->Program.InputsRead &= ~(1 << wpos); 307 inst->U.I.SrcReg[i].Index == wpos) {
|
/external/libaom/libaom/av1/encoder/ |
bitstream.c | [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_mesa_to_tgsi.c | 608 * Emit the TGSI instructions for inverting and adjusting WPOS. 622 * Need to replace instances of INPUT[WPOS] with temp T 623 * where T = INPUT[WPOS] by y is inverted. 637 struct ureg_src *wpos = local 641 struct ureg_src wpos_input = *wpos; 664 /* MOV wpos_temp, input[wpos] 692 *wpos = ureg_src(wpos_temp); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
sme.c | 1678 u8 *rm_en_dup = NULL, *wpos; local [all...] |
/external/zopfli/src/zopflipng/lodepng/ |
lodepng.cpp | 1459 size_t wpos = pos & (windowsize - 1); \/*position for in 'circular' hash buffers*\/ local [all...] |
/external/mesa3d/src/intel/compiler/ |
brw_fs.cpp | 1037 fs_visitor::emit_fragcoord_interpolation(fs_reg wpos) 1042 bld.MOV(wpos, this->pixel_x); 1043 wpos = offset(wpos, bld, 1); 1046 bld.MOV(wpos, this->pixel_y); 1047 wpos = offset(wpos, bld, 1); 1051 bld.MOV(wpos, fs_reg(brw_vec8_grf(payload.source_depth_reg, 0))); 1053 bld.emit(FS_OPCODE_LINTERP, wpos, 1057 wpos = offset(wpos, bld, 1) [all...] |
brw_fs.h | 180 void emit_fragcoord_interpolation(fs_reg wpos);
|
/external/wpa_supplicant_8/src/common/ |
wpa_common.c | 2582 char buf[255], *wpos = buf; local [all...] |
/external/mesa3d/src/gallium/state_trackers/nine/ |
nine_shader.c | 1071 struct ureg_dst wpos = tx_scratch(tx); local [all...] |