Home
last modified time | relevance | path

Searched refs:vtex (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_texture.c131 struct virgl_texture *vtex = virgl_texture(resource); in virgl_texture_transfer_map() local
138 const unsigned h = u_minify(vtex->base.u.b.height0, level); in virgl_texture_transfer_map()
144 doflushwait = virgl_res_needs_flush_wait(vctx, &vtex->base, usage); in virgl_texture_transfer_map()
156 trans->base.stride = vtex->stride[level]; in virgl_texture_transfer_map()
181 offset = vrend_get_tex_image_offset(vtex, level, box->z); in virgl_texture_transfer_map()
185 hw_res = vtex->base.hw_res; in virgl_texture_transfer_map()
189 readback = virgl_res_needs_readback(vctx, &vtex->base, usage); in virgl_texture_transfer_map()
194 vs->vws->resource_wait(vs->vws, vtex->base.hw_res); in virgl_texture_transfer_map()
212 struct virgl_texture *vtex = virgl_texture(transfer->resource); in virgl_texture_transfer_unmap() local
227 vtex->base.clean = FALSE; in virgl_texture_transfer_unmap()
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_zscan.c198 struct ureg_src *vtex; in create_frag_shader() local
211 vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_src)); in create_frag_shader()
215vtex[i] = ureg_DECL_fs_input(shader, TGSI_SEMANTIC_GENERIC, VS_O_VTEX + i, TGSI_INTERPOLATE_LINEAR… in create_frag_shader()
233 … ureg_TEX(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_X), TGSI_TEXTURE_2D, vtex[i], samp_scan); in create_frag_shader()
236 … ureg_MOV(shader, ureg_writemask(tmp[i], TGSI_WRITEMASK_Y), ureg_scalar(vtex[i], TGSI_SWIZZLE_W)); in create_frag_shader()
240 …ureg_TEX(shader, ureg_writemask(quant, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, vtex[i], samp_quan… in create_frag_shader()
250 FREE(vtex); in create_frag_shader()
Dvl_compositor.c61 struct ureg_src vpos, vtex, color; in create_vert_shader() local
71 vtex = ureg_DECL_vs_input(shader, 1); in create_vert_shader()
86 ureg_MOV(shader, o_vtex, vtex); in create_vert_shader()
104 ureg_scalar(vtex, TGSI_SWIZZLE_W), ureg_imm1f(shader, 0.5f)); in create_vert_shader()
106 ureg_scalar(vtex, TGSI_SWIZZLE_W), ureg_imm1f(shader, 0.25f)); in create_vert_shader()
108 ureg_MOV(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_X), vtex); in create_vert_shader()
109 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
111 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
116 ureg_MOV(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_X), vtex); in create_vert_shader()
117 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader()
[all …]
Dvl_bicubic_filter.c156 struct ureg_src i_vtex, vtex; in create_frag_shader() local
215 vtex = ureg_src(t_array[22]); in create_frag_shader()
218 vtex, ureg_imm2f(shader, offsets[i].x, offsets[i].y)); in create_frag_shader()