Searched refs:pos_xy (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/intel/blorp/ |
D | blorp_blit.c | 724 nir_ssa_def *pos_xy = nir_channels(b, pos, 0x3); in blorp_nir_manual_blend_bilinear() local 731 pos_xy = nir_fmul(b, pos_xy, scale); in blorp_nir_manual_blend_bilinear() 735 pos_xy = nir_fadd(b, pos_xy, nir_imm_float(b, -0.5)); in blorp_nir_manual_blend_bilinear() 739 pos_xy = nir_fmin(b, nir_fmax(b, pos_xy, nir_imm_float(b, 0.0)), in blorp_nir_manual_blend_bilinear() 746 nir_ssa_def *frac_xy = nir_ffract(b, pos_xy); in blorp_nir_manual_blend_bilinear() 748 pos_xy = nir_fdiv(b, nir_ftrunc(b, pos_xy), scale); in blorp_nir_manual_blend_bilinear() 756 nir_ssa_def *sample_coords = nir_fadd(b, pos_xy, sample_off); in blorp_nir_manual_blend_bilinear()
|