/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_mc.c | 73 ureg_ADD(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), vpos, vrect); in calc_position() 74 ureg_MUL(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos), block_scale); in calc_position() 75 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos)); in calc_position() 76 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f)); in calc_position() 94 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), pos, ureg_imm1f(shader, 0.5f)); in calc_line() 95 ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp)); in calc_line() 96 ureg_SGE(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(tmp), ureg_imm1f(shader, 0.5f)); in calc_line() 144 … ureg_MAD(shader, ureg_writemask(o_vmv[i], TGSI_WRITEMASK_XY), mv_scale, vmv[i], ureg_src(t_vpos)); in create_ref_vert_shader() 145 ureg_MUL(shader, ureg_writemask(o_vmv[i], TGSI_WRITEMASK_ZW), mv_scale, vmv[i]); in create_ref_vert_shader() 194 ureg_CMP(shader, ureg_writemask(ref, TGSI_WRITEMASK_XYZ), in create_ref_frag_shader() [all …]
|
D | vl_idct.c | 88 ureg_MOV(shader, ureg_writemask(addr[0], wm_start), ureg_scalar(start, sw_start)); in calc_addr() 89 ureg_MOV(shader, ureg_writemask(addr[0], wm_tc), ureg_scalar(tc, sw_tc)); in calc_addr() 91 …ureg_ADD(shader, ureg_writemask(addr[1], wm_start), ureg_scalar(start, sw_start), ureg_imm1f(shade… in calc_addr() 92 ureg_MOV(shader, ureg_writemask(addr[1], wm_tc), ureg_scalar(tc, sw_tc)); in calc_addr() 108 ureg_MOV(shader, ureg_writemask(daddr[0], wm_start), saddr[0]); in increment_addr() 109 ureg_ADD(shader, ureg_writemask(daddr[0], wm_tc), saddr[0], ureg_imm1f(shader, pos / size)); in increment_addr() 110 ureg_MOV(shader, ureg_writemask(daddr[1], wm_start), saddr[1]); in increment_addr() 111 ureg_ADD(shader, ureg_writemask(daddr[1], wm_tc), saddr[1], ureg_imm1f(shader, pos / size)); in increment_addr() 133 ureg_DP4(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_src(l[0]), ureg_src(r[0])); in matrix_mul() 134 ureg_DP4(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_src(l[1]), ureg_src(r[1])); in matrix_mul() [all …]
|
D | vl_zscan.c | 138 ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XY), vpos, vrect); in create_vert_shader() 139 ureg_MUL(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(tmp), scale); in create_vert_shader() 140 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f)); in create_vert_shader() 142 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XW), ureg_scalar(block_num, TGSI_SWIZZLE_X), in create_vert_shader() 145 …ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X)… in create_vert_shader() 146 ureg_FLR(shader, ureg_writemask(tmp, TGSI_WRITEMASK_W), ureg_src(tmp)); in create_vert_shader() 149 …ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_Y), in create_vert_shader() 153 ureg_MAD(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_X), vrect, in create_vert_shader() 155 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Y), vrect); in create_vert_shader() 156 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Z), vpos); in create_vert_shader() [all …]
|
D | vl_compositor.c | 101 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_X), in create_vert_shader() 103 ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), in create_vert_shader() 106 ureg_MOV(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_X), vtex); in create_vert_shader() 107 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 109 ureg_MAD(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 111 ureg_RCP(shader, ureg_writemask(o_vtop, TGSI_WRITEMASK_W), in create_vert_shader() 114 ureg_MOV(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_X), vtex); in create_vert_shader() 115 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Y), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 117 ureg_MAD(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_Z), ureg_scalar(vtex, TGSI_SWIZZLE_Y), in create_vert_shader() 119 ureg_RCP(shader, ureg_writemask(o_vbottom, TGSI_WRITEMASK_W), in create_vert_shader() [all …]
|
D | vl_matrix_filter.c | 113 ureg_ADD(shader, ureg_writemask(t_array[i], TGSI_WRITEMASK_XY), in create_frag_shader() 115 ureg_MOV(shader, ureg_writemask(t_array[i], TGSI_WRITEMASK_ZW), in create_frag_shader()
|
D | vl_median_filter.c | 123 ureg_ADD(shader, ureg_writemask(t_array[i], TGSI_WRITEMASK_XY), in create_frag_shader() 125 ureg_MOV(shader, ureg_writemask(t_array[i], TGSI_WRITEMASK_ZW), in create_frag_shader()
|
D | vl_mpeg12_decoder.c | 996 ureg_MOV(shader, ureg_writemask(o_vtex, TGSI_WRITEMASK_XY), ureg_src(tex)); in mc_vert_shader_callback()
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | asm_fill.h | 55 ureg_MOV(ureg, ureg_writemask(temp[0], TGSI_WRITEMASK_XY), in[0]); \ 57 ureg_writemask(temp[0], TGSI_WRITEMASK_Z), \ 66 ureg_writemask(temp[4], TGSI_WRITEMASK_X), \ 69 ureg_writemask(temp[4], TGSI_WRITEMASK_Y), \ 152 ureg_writemask(temp[1], TGSI_WRITEMASK_X), in pattern() 156 ureg_writemask(temp[1], TGSI_WRITEMASK_Y), in pattern() 260 ureg_writemask(temp[1], TGSI_WRITEMASK_W), in alpha_per_channel() 264 ureg_writemask(temp[1], TGSI_WRITEMASK_XYZ), in alpha_per_channel() 270 ureg_writemask(temp[0], TGSI_WRITEMASK_W), in alpha_per_channel() 286 ureg_writemask(ureg_dst(src), TGSI_WRITEMASK_XYZ), in blend_premultiply() [all …]
|
D | renderer.c | 212 ureg_DP4(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), src[0], constants[0]); in create_passthrough_vs() 213 ureg_DP4(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Y), src[0], constants[1]); in create_passthrough_vs() 214 ureg_MOV(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_Z), src[0]); in create_passthrough_vs() 215 ureg_DP4(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_W), src[0], constants[2]); in create_passthrough_vs() 273 ureg_MOV(ureg, ureg_writemask(out, TGSI_WRITEMASK_Z), imm); in create_scissor_fs()
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_exa_tgsi.c | 138 ureg_writemask(temp0, TGSI_WRITEMASK_XY), pos); in linear_gradient() 140 ureg_writemask(temp0, TGSI_WRITEMASK_Z), in linear_gradient() 150 ureg_MOV(ureg, ureg_writemask(temp4, TGSI_WRITEMASK_X), in linear_gradient() 152 ureg_MOV(ureg, ureg_writemask(temp4, TGSI_WRITEMASK_Y), in linear_gradient() 198 ureg_writemask(temp0, TGSI_WRITEMASK_XY), in radial_gradient() 201 ureg_writemask(temp0, TGSI_WRITEMASK_Z), in radial_gradient() 211 ureg_MOV(ureg, ureg_writemask(temp5, TGSI_WRITEMASK_X), in radial_gradient() 213 ureg_MOV(ureg, ureg_writemask(temp5, TGSI_WRITEMASK_Y), in radial_gradient() 376 ureg_MOV(ureg, ureg_writemask(rgb, TGSI_WRITEMASK_W), in create_yuv_shader() 429 ureg_writemask(tmp1, TGSI_WRITEMASK_W), in xrender_tex() [all …]
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_tgsi.c | 159 ureg_MOV(ureg, ureg_writemask(temp0, TGSI_WRITEMASK_XY), pos); in linear_gradient() 161 ureg_writemask(temp0, TGSI_WRITEMASK_Z), in linear_gradient() 171 ureg_MOV(ureg, ureg_writemask(temp4, TGSI_WRITEMASK_X), ureg_src(temp1)); in linear_gradient() 172 ureg_MOV(ureg, ureg_writemask(temp4, TGSI_WRITEMASK_Y), ureg_src(temp2)); in linear_gradient() 210 ureg_MOV(ureg, ureg_writemask(temp0, TGSI_WRITEMASK_XY), pos); in radial_gradient() 212 ureg_writemask(temp0, TGSI_WRITEMASK_Z), in radial_gradient() 222 ureg_MOV(ureg, ureg_writemask(temp5, TGSI_WRITEMASK_X), ureg_src(temp1)); in radial_gradient() 223 ureg_MOV(ureg, ureg_writemask(temp5, TGSI_WRITEMASK_Y), ureg_src(temp2)); in radial_gradient() 404 ureg_writemask(tmp1, TGSI_WRITEMASK_W), in xrender_tex() 424 ureg_writemask(dst, TGSI_WRITEMASK_W), in xrender_tex() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_simple_shaders.c | 148 ureg_writemask(out, writemask), in util_make_fragment_tex_shader_writemask() 210 ureg_writemask(depth, TGSI_WRITEMASK_Z), in util_make_fragment_tex_shader_writedepth() 261 ureg_writemask(depth, TGSI_WRITEMASK_Z), in util_make_fragment_tex_shader_writedepthstencil() 264 ureg_writemask(stencil, TGSI_WRITEMASK_Y), in util_make_fragment_tex_shader_writedepthstencil() 310 ureg_writemask(stencil, TGSI_WRITEMASK_Y), in util_make_fragment_tex_shader_writestencil()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_mesa_to_tgsi.c | 301 dst = ureg_writemask( dst, in translate_dst() 727 dst[0] = ureg_writemask(dst[0], TGSI_WRITEMASK_XY ); in compile_instruction() 735 dst[0] = ureg_writemask(dst[0], TGSI_WRITEMASK_XYZ ); in compile_instruction() 833 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y ), in emit_wpos_adjustment() 841 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y ), in emit_wpos_adjustment() 1089 t->outputs[i] = ureg_writemask( t->outputs[i], in st_translate_mesa_program() 1096 t->outputs[i] = ureg_writemask( t->outputs[i], in st_translate_mesa_program() 1171 ureg_U2F( t->ureg, ureg_writemask(temp, TGSI_WRITEMASK_X), t->systemValues[i]); in st_translate_mesa_program()
|
D | st_glsl_to_tgsi.cpp | 4110 dst = ureg_writemask(dst, dst_reg->writemask); in translate_dst() 4263 dst[0] = ureg_writemask(dst[0], TGSI_WRITEMASK_XY); in compile_tgsi_instruction() 4341 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y ), in emit_wpos_adjustment() 4349 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y ), in emit_wpos_adjustment() 4594 t->outputs[i] = ureg_writemask(t->outputs[i], TGSI_WRITEMASK_Z); in st_translate_program() 4600 t->outputs[i] = ureg_writemask(t->outputs[i], TGSI_WRITEMASK_Y); in st_translate_program() 4675 ureg_U2F( t->ureg, ureg_writemask(temp, TGSI_WRITEMASK_X), t->systemValues[i]); in st_translate_program()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d1x/ |
D | sm4_to_tgsi.cpp | 132 struct ureg_dst d = ureg_writemask(_reg(op), op.mask); in _dst() 233 return ureg_writemask(_tmp(), d.WriteMask); in _tmp() 476 ureg_MOV(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_XYZ), _src(1)); in translate_insns() 477 ureg_MOV(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_W), ureg_swizzle(_src(4), 0, 0, 0, 0)); in translate_insns()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.h | 895 ureg_writemask( struct ureg_dst reg, in ureg_writemask() function
|