Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/ilo/shader/
Dilo_shader_fs.c725 int num_coords, ref_pos, num_derivs; in fs_prepare_tgsi_sampling() local
744 ref_pos = tgsi_util_get_shadow_ref_src_index(inst->tex.target); in fs_prepare_tgsi_sampling()
790 if (ref_pos >= 0) { in fs_prepare_tgsi_sampling()
791 assert(ref_pos < 4); in fs_prepare_tgsi_sampling()
794 ref_or_si = coords[ref_pos]; in fs_prepare_tgsi_sampling()
801 if (ref_pos >= 0) { in fs_prepare_tgsi_sampling()
802 assert(ref_pos < 4); in fs_prepare_tgsi_sampling()
805 ref_or_si = coords[ref_pos]; in fs_prepare_tgsi_sampling()
820 if (ref_pos >= 0) { in fs_prepare_tgsi_sampling()
821 assert(ref_pos < 3); in fs_prepare_tgsi_sampling()
[all …]
Dilo_shader_vs.c397 int num_coords, ref_pos, num_derivs; in vs_prepare_tgsi_sampling() local
411 ref_pos = tgsi_util_get_shadow_ref_src_index(inst->tex.target); in vs_prepare_tgsi_sampling()
416 if (ref_pos >= 0) { in vs_prepare_tgsi_sampling()
417 assert(ref_pos < 4); in vs_prepare_tgsi_sampling()
420 ref_or_si = tsrc_swizzle1(coords, ref_pos); in vs_prepare_tgsi_sampling()
435 if (ref_pos >= 0) { in vs_prepare_tgsi_sampling()
436 assert(ref_pos < 3); in vs_prepare_tgsi_sampling()
439 ref_or_si = tsrc_swizzle1(coords, ref_pos); in vs_prepare_tgsi_sampling()
453 assert(ref_pos >= 0 && ref_pos < 4); in vs_prepare_tgsi_sampling()
456 ref_or_si = tsrc_swizzle1(coords, ref_pos); in vs_prepare_tgsi_sampling()
[all …]
/external/harfbuzz_ng/src/
Dhb-buffer.cc1950 const hb_glyph_position_t *ref_pos = reference->pos; in hb_buffer_diff() local
1953 if ((unsigned int) abs (buf_pos->x_advance - ref_pos->x_advance) > position_fuzz || in hb_buffer_diff()
1954 (unsigned int) abs (buf_pos->y_advance - ref_pos->y_advance) > position_fuzz || in hb_buffer_diff()
1955 (unsigned int) abs (buf_pos->x_offset - ref_pos->x_offset) > position_fuzz || in hb_buffer_diff()
1956 (unsigned int) abs (buf_pos->y_offset - ref_pos->y_offset) > position_fuzz) in hb_buffer_diff()
1962 ref_pos++; in hb_buffer_diff()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c4539 int ref_pos = tgsi_util_get_shadow_ref_src_index(target); in tex_fetch_args() local
4612 assert(ref_pos >= 0); in tex_fetch_args()
4613 z = coords[ref_pos]; in tex_fetch_args()