| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_lower_wpos_center.c | 51 nir_ssa_def *wpos = &intr->dest.ssa; local in function:update_fragcoord 58 wpos = nir_fadd(b, wpos, nir_imm_vec4(b, 0.5f, 0.5f, 0.0f, 0.0f)); 62 wpos = nir_fadd(b, wpos, 70 nir_ssa_def_rewrite_uses_after(&intr->dest.ssa, wpos, 71 wpos->parent_instr);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_lower_wpos_center.c | 51 nir_ssa_def *wpos = &intr->dest.ssa; local in function:update_fragcoord 58 wpos = nir_fadd(b, wpos, nir_imm_vec4(b, 0.5f, 0.5f, 0.0f, 0.0f)); 62 wpos = nir_fadd(b, wpos, 70 nir_ssa_def_rewrite_uses_after(&intr->dest.ssa, nir_src_for_ssa(wpos), 71 wpos->parent_instr);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/ |
| H A D | r300_shader_semantics.h | 44 int wpos; member in struct:r300_shader_semantics 58 info->wpos = ATTR_UNUSED;
|
| H A D | 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 in function:r300_translate_fragment_shader 427 wpos = shader->inputs.wpos; 490 if (wpos != ATTR_UNUSED) { 492 rc_transform_fragment_wpos(&compiler.Base, wpos, wpos, TRUE);
|
| H A D | r300_vs.c | 103 vs_outputs->wpos = i; 170 c->code->outputs[outputs->wpos] = reg++; 256 rc_copy_output(&compiler.Base, 0, vs->outputs.wpos);
|
| H A D | r300_state_derived.c | 118 if (r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED && gen_count < 8) { 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) { 580 if (fs_inputs->wpos != ATTR_UNUSED && tex_count < 8) { 598 if (fs_inputs->wpos != ATTR_UNUSED && tex_count >= 8) {
|
| H A D | r300_vs_draw.c | 375 vs->outputs.wpos = vs->outputs.generic[transform.last_generic + 1];
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/ |
| H A D | r300_shader_semantics.h | 44 int wpos; member in struct:r300_shader_semantics 58 info->wpos = ATTR_UNUSED;
|
| H A D | 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 in function:r300_translate_fragment_shader 427 wpos = shader->inputs.wpos; 490 if (wpos != ATTR_UNUSED) { 492 rc_transform_fragment_wpos(&compiler.Base, wpos, wpos, TRUE);
|
| H A D | r300_vs.c | 103 vs_outputs->wpos = i; 170 c->code->outputs[outputs->wpos] = reg++; 256 rc_copy_output(&compiler.Base, 0, vs->outputs.wpos);
|
| H A D | r300_state_derived.c | 118 if (r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED && gen_count < 8) { 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) { 580 if (fs_inputs->wpos != ATTR_UNUSED && tex_count < 8) { 598 if (fs_inputs->wpos != ATTR_UNUSED && tex_count >= 8) {
|
| H A D | r300_vs_draw.c | 377 vs->outputs.wpos = vs->outputs.generic[transform.last_generic + 1];
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| H A D | s_fragprog.c | 164 GLfloat *wpos = span->array->attribs[VARYING_SLOT_POS][col]; local in function:init_machine 168 wpos[1] = ctx->DrawBuffer->Height - 1 - wpos[1]; 170 wpos[0] += 0.5F; 171 wpos[1] += 0.5F;
|
| H A D | s_span.c | 628 GLfloat (*wpos)[4] = span->array->attribs[VARYING_SLOT_POS]; local in function:interpolate_wpos 635 wpos[i][0] = (GLfloat) span->array->x[i]; 636 wpos[i][1] = (GLfloat) span->array->y[i]; 641 wpos[i][0] = (GLfloat) span->x + i; 642 wpos[i][1] = (GLfloat) span->y; 649 wpos[i][2] = (GLfloat) span->array->z[i] * zScale; 650 wpos[i][3] = w; 1005 /* XXX always interpolate wpos so that DDX/DDY work */
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| H A D | s_fragprog.c | 164 GLfloat *wpos = span->array->attribs[VARYING_SLOT_POS][col]; local in function:init_machine 168 wpos[1] = ctx->DrawBuffer->Height - 1 - wpos[1]; 170 wpos[0] += 0.5F; 171 wpos[1] += 0.5F;
|
| H A D | s_span.c | 628 GLfloat (*wpos)[4] = span->array->attribs[VARYING_SLOT_POS]; local in function:interpolate_wpos 635 wpos[i][0] = (GLfloat) span->array->x[i]; 636 wpos[i][1] = (GLfloat) span->array->y[i]; 641 wpos[i][0] = (GLfloat) span->x + i; 642 wpos[i][1] = (GLfloat) span->y; 649 wpos[i][2] = (GLfloat) span->array->z[i] * zScale; 650 wpos[i][3] = w; 1005 /* XXX always interpolate wpos so that DDX/DDY work */
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_compiler.h | 107 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input,
|
| H A D | radeon_compiler.c | 237 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input, argument 246 c->Program.InputsRead &= ~(1 << wpos); 307 inst->U.I.SrcReg[i].Index == wpos) {
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_compiler.h | 107 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input,
|
| H A D | radeon_compiler.c | 237 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input, argument 246 c->Program.InputsRead &= ~(1U << wpos); 307 inst->U.I.SrcReg[i].Index == wpos) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_mesa_to_tgsi.c | 637 struct ureg_src *wpos = local in function:emit_wpos_adjustment 641 struct ureg_src wpos_input = *wpos; 664 /* MOV wpos_temp, input[wpos] 692 *wpos = ureg_src(wpos_temp);
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_fs.cpp | 1177 fs_visitor::emit_fragcoord_interpolation(fs_reg wpos) argument 1182 bld.MOV(wpos, this->pixel_x); 1183 wpos = offset(wpos, bld, 1); 1186 bld.MOV(wpos, this->pixel_y); 1187 wpos = offset(wpos, bld, 1); 1191 bld.MOV(wpos, fetch_payload_reg(bld, payload.source_depth_reg)); 1193 bld.emit(FS_OPCODE_LINTERP, wpos, 1197 wpos [all...] |
| H A D | brw_fs.h | 178 void emit_fragcoord_interpolation(fs_reg wpos);
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_fs.h | 204 void emit_fragcoord_interpolation(fs_reg wpos);
|
| H A D | brw_fs.cpp | 1238 fs_visitor::emit_fragcoord_interpolation(fs_reg wpos) argument 1243 bld.MOV(wpos, this->pixel_x); 1244 wpos = offset(wpos, bld, 1); 1247 bld.MOV(wpos, this->pixel_y); 1248 wpos = offset(wpos, bld, 1); 1252 bld.MOV(wpos, this->pixel_z); 1254 bld.emit(FS_OPCODE_LINTERP, wpos, 1258 wpos [all...] |