Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_wpos_ytransform.c237 lower_fddy(lower_wpos_ytransform_state *state, nir_alu_instr *fddy) in lower_fddy() argument
242 b->cursor = nir_before_instr(&fddy->instr); in lower_fddy()
244 p = nir_ssa_for_alu_src(b, fddy, 0); in lower_fddy()
248 nir_instr_rewrite_src(&fddy->instr, in lower_fddy()
249 &fddy->src[0].src, in lower_fddy()
253 fddy->src[0].swizzle[i] = MIN2(i, pt->num_components - 1); in lower_fddy()