Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_tex.c492 nir_ssa_def *rcp_Q_z = nir_frcp(b, nir_channel(b, Q, 2)); in lower_gradient_cube_map() local
496 nir_ssa_def *tmp = nir_fmul(b, Q_xy, rcp_Q_z); in lower_gradient_cube_map()
501 nir_fmul(b, rcp_Q_z, nir_fsub(b, dQdx_xy, nir_fmul(b, tmp, dQdx_z))); in lower_gradient_cube_map()
506 nir_fmul(b, rcp_Q_z, nir_fsub(b, dQdy_xy, nir_fmul(b, tmp, dQdy_z))); in lower_gradient_cube_map()