Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_normalize_cubemap_coords.c55 nir_ssa_def *orig_coord = in normalize_cubemap_coords_block() local
57 assert(orig_coord->num_components >= 3); in normalize_cubemap_coords_block()
59 nir_ssa_def *abs = nir_fabs(b, orig_coord); in normalize_cubemap_coords_block()
64 nir_ssa_def *normalized = nir_fmul(b, orig_coord, nir_frcp(b, norm)); in normalize_cubemap_coords_block()
74 nir_channel(b, orig_coord, 3)); in normalize_cubemap_coords_block()