Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_clip.c250 nir_ssa_def *clipdist[MAX_CLIP_PLANES]; in lower_clip_outputs() local
274 clipdist[plane] = nir_fdot4(b, ucp, cv); in lower_clip_outputs()
277 clipdist[plane] = nir_imm_float(b, 0.0); in lower_clip_outputs()
285 nir_store_deref(b, deref, clipdist[plane], 1); in lower_clip_outputs()
292 nir_store_var(b, out[0], nir_vec(b, clipdist, 4), 0xf); in lower_clip_outputs()
294 nir_store_var(b, out[1], nir_vec(b, &clipdist[4], 4), 0xf); in lower_clip_outputs()
297 store_clipdist_output(b, out[0], &clipdist[0]); in lower_clip_outputs()
299 store_clipdist_output(b, out[1], &clipdist[4]); in lower_clip_outputs()
432 nir_ssa_def *clipdist[MAX_CLIP_PLANES]; in lower_clip_fs() local
440 load_clipdist_input(&b, in[0], 0, &clipdist[0]); in lower_clip_fs()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_cliptest_tmp.h145 float clipdist; in TAG() local
149 clipdist = out->data[cd[0]][i]; in TAG()
151 clipdist = out->data[cd[1]][i-4]; in TAG()
152 if (clipdist < 0 || util_is_inf_or_nan(clipdist)) in TAG()
Ddraw_llvm.c1616 LLVMValueRef clipdist; in generate_clipmask() local
1622 clipdist = LLVMBuildLoad(builder, outputs[cd[0]][i], ""); in generate_clipmask()
1624 clipdist = LLVMBuildLoad(builder, outputs[cd[1]][i-4], ""); in generate_clipmask()
1626 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, clipdist); in generate_clipmask()
1627 is_nan_or_inf = lp_build_is_inf_or_nan(gallivm, vs_type, clipdist); in generate_clipmask()
/external/mesa3d/docs/relnotes/
D19.2.8.rst89 - nir/lower_clip: Fix incorrect driver loc for clipdist outputs
D19.3.0.rst1326 - nir: support lowering clipdist to arrays
2939 - nir/lower_clip: Fix incorrect driver loc for clipdist outputs
D20.0.0.rst2956 - nir/lower_clip: Fix incorrect driver loc for clipdist outputs