Searched refs:clipdist (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_clip.c | 157 nir_ssa_def *clipdist[MAX_CLIP_PLANES]; in lower_clip_vs() local 180 clipdist[plane] = nir_fdot4(&b, ucp, cv); in lower_clip_vs() 184 clipdist[plane] = nir_imm_float(&b, 0.0); in lower_clip_vs() 189 store_clipdist_output(&b, out[0], &clipdist[0]); in lower_clip_vs() 191 store_clipdist_output(&b, out[1], &clipdist[4]); in lower_clip_vs() 269 nir_ssa_def *clipdist[MAX_CLIP_PLANES]; in lower_clip_fs() local 276 load_clipdist_input(&b, in[0], &clipdist[0]); in lower_clip_fs() 278 load_clipdist_input(&b, in[1], &clipdist[4]); in lower_clip_fs() 285 cond = nir_flt(&b, clipdist[plane], nir_imm_float(&b, 0.0)); in lower_clip_fs()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_cliptest_tmp.h | 140 float clipdist; in TAG() local 144 clipdist = out->data[cd[0]][i]; in TAG() 146 clipdist = out->data[cd[1]][i-4]; in TAG() 147 if (clipdist < 0 || util_is_inf_or_nan(clipdist)) in TAG()
|
D | draw_llvm.c | 1267 LLVMValueRef clipdist; in generate_clipmask() local 1273 clipdist = LLVMBuildLoad(builder, outputs[cd[0]][i], ""); in generate_clipmask() 1275 clipdist = LLVMBuildLoad(builder, outputs[cd[1]][i-4], ""); in generate_clipmask() 1277 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, zero, clipdist); in generate_clipmask() 1278 is_nan_or_inf = lp_build_is_inf_or_nan(gallivm, vs_type, clipdist); in generate_clipmask()
|