/external/mesa3d/src/gallium/drivers/virgl/ |
virgl_texture.c | 131 struct virgl_texture *vtex = virgl_texture(resource); local 138 const unsigned h = u_minify(vtex->base.u.b.height0, level); 144 doflushwait = virgl_res_needs_flush_wait(vctx, &vtex->base, usage); 156 trans->base.stride = vtex->stride[level]; 181 offset = vrend_get_tex_image_offset(vtex, level, box->z); 185 hw_res = vtex->base.hw_res; 189 readback = virgl_res_needs_readback(vctx, &vtex->base, usage); 194 vs->vws->resource_wait(vs->vws, vtex->base.hw_res); 212 struct virgl_texture *vtex = virgl_texture(transfer->resource); local 227 vtex->base.clean = FALSE 286 struct virgl_texture *vtex = virgl_texture(ptex); local 295 struct virgl_texture *vtex = virgl_texture(res); local [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_zscan.c | 198 struct ureg_src *vtex; local 211 vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_src)); 215 vtex[i] = ureg_DECL_fs_input(shader, TGSI_SEMANTIC_GENERIC, VS_O_VTEX + i, TGSI_INTERPOLATE_LINEAR); 228 * tmp.x = tex(vtex, 1) 229 * tmp.y = vtex.z 233 ureg_TEX(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_X), TGSI_TEXTURE_2D, vtex[i], samp_scan); 236 ureg_MOV(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_Y), ureg_scalar(vtex[i], TGSI_SWIZZLE_W)); 240 ureg_TEX(shader, ureg_writemask(quant, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, vtex[i], samp_quant); 250 FREE(vtex);
|
vl_compositor.c | 61 struct ureg_src vpos, vtex, color; local 71 vtex = ureg_DECL_vs_input(shader, 1); 82 * o_vtex = vtex 86 ureg_MOV(shader, o_vtex, vtex); 90 * tmp.x = vtex.w / 2 91 * tmp.y = vtex.w / 4 93 * o_vtop.x = vtex.x 94 * o_vtop.y = vtex.y * tmp.x + 0.25f 95 * o_vtop.z = vtex.y * tmp.y + 0.25f 98 * o_vbottom.x = vtex. [all...] |
vl_bicubic_filter.c | 156 struct ureg_src i_vtex, vtex; local 193 * vtex = floor(i_vtex)/i_size 210 * t_array[0..*] = vtex + offset[0..*] 215 vtex = ureg_src(t_array[22]); 218 vtex, ureg_imm2f(shader, offsets[i].x, offsets[i].y));
|