Lines Matching refs:scale
86 * addr[1].(start) += 1.0f / scale
147 struct ureg_src scale;
165 * scale = (VL_BLOCK_WIDTH, VL_BLOCK_HEIGHT) / (dst.width, dst.height)
168 * o_vpos.xy = t_vpos * scale
174 scale = ureg_imm2f(shader,
178 ureg_MAD(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), vpos, scale, scale);
181 ureg_MUL(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_XY), vpos, scale);
263 struct ureg_src scale;
286 * scale = (VL_BLOCK_WIDTH, VL_BLOCK_HEIGHT) / (dst.width, dst.height)
289 * o_vpos.xy = t_vpos * scale
297 scale = ureg_imm2f(shader,
302 ureg_MUL(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_XY), ureg_src(t_tex), scale);
307 ureg_MUL(shader, ureg_writemask(t_start, TGSI_WRITEMASK_XY), vpos, scale);
397 struct ureg_src scale;
414 scale = ureg_imm2f(shader,
421 ureg_MUL(shader, ureg_writemask(t_start, TGSI_WRITEMASK_XY), vpos, scale);
609 buffer->viewport_mismatch.scale[0] = tex->width0;
610 buffer->viewport_mismatch.scale[1] = tex->height0;
611 buffer->viewport_mismatch.scale[2] = 1;
656 buffer->viewport.scale[0] = tex->width0;
657 buffer->viewport.scale[1] = tex->height0;
658 buffer->viewport.scale[2] = 1;
687 vl_idct_upload_matrix(struct pipe_context *pipe, float scale)
732 // transpose and scale
733 f[i * pitch + j] = ((const float (*)[8])const_matrix)[j][i] * scale;