Home
last modified time | relevance | path

Searched refs:wpos_temp (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_wpos_ytransform.c85 nir_ssa_def *wpostrans, *wpos_temp, *wpos_temp_y, *wpos_input; in emit_wpos_adjustment() local
109 wpos_temp = nir_fadd(b, wpos_input, adj_temp); in emit_wpos_adjustment()
111 wpos_temp = nir_fadd(b, in emit_wpos_adjustment()
115 wpos_input = wpos_temp; in emit_wpos_adjustment()
119 wpos_temp = wpos_input; in emit_wpos_adjustment()
127 wpos_temp_y = nir_fadd(b, nir_fmul(b, nir_channel(b, wpos_temp, 1), in emit_wpos_adjustment()
132 wpos_temp_y = nir_fadd(b, nir_fmul(b, nir_channel(b, wpos_temp, 1), in emit_wpos_adjustment()
137 wpos_temp = nir_vec4(b, in emit_wpos_adjustment()
138 nir_channel(b, wpos_temp, 0), in emit_wpos_adjustment()
140 nir_channel(b, wpos_temp, 2), in emit_wpos_adjustment()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_mesa_to_tgsi.c610 struct ureg_dst wpos_temp = ureg_DECL_temporary( ureg ); in emit_wpos_adjustment() local
631 ureg_ADD(ureg, wpos_temp, wpos_input, ureg_src(adj_temp)); in emit_wpos_adjustment()
633 ureg_ADD(ureg, wpos_temp, wpos_input, in emit_wpos_adjustment()
636 wpos_input = ureg_src(wpos_temp); in emit_wpos_adjustment()
640 ureg_MOV( ureg, wpos_temp, wpos_input ); in emit_wpos_adjustment()
650 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y ), in emit_wpos_adjustment()
658 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y ), in emit_wpos_adjustment()
666 *wpos = ureg_src(wpos_temp); in emit_wpos_adjustment()
Dst_glsl_to_tgsi.cpp5742 struct ureg_dst wpos_temp = ureg_DECL_temporary( ureg ); in emit_wpos_adjustment() local
5763 ureg_ADD(ureg, wpos_temp, wpos_input, ureg_src(adj_temp)); in emit_wpos_adjustment()
5765 ureg_ADD(ureg, wpos_temp, wpos_input, in emit_wpos_adjustment()
5768 wpos_input = ureg_src(wpos_temp); in emit_wpos_adjustment()
5772 ureg_MOV( ureg, wpos_temp, wpos_input ); in emit_wpos_adjustment()
5782 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y ), in emit_wpos_adjustment()
5790 ureg_writemask(wpos_temp, TGSI_WRITEMASK_Y ), in emit_wpos_adjustment()
5798 *wpos = ureg_src(wpos_temp); in emit_wpos_adjustment()