Home
last modified time | relevance | path

Searched refs:clipvertex (Results 1 - 5 of 5) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_clip.c196 nir_variable **clipvertex, in find_clipvertex_and_position_outputs()
205 *clipvertex = var; in find_clipvertex_and_position_outputs()
220 return *clipvertex || *position; in find_clipvertex_and_position_outputs()
248 nir_variable *clipvertex, nir_variable **out, in lower_clip_outputs()
257 cv = nir_load_var(b, clipvertex ? clipvertex : position); in lower_clip_outputs()
259 if (clipvertex) { in lower_clip_outputs()
260 clipvertex->data.mode = nir_var_shader_temp; in lower_clip_outputs()
264 if (clipvertex) in lower_clip_outputs()
265 cv = find_output(b->shader, clipvertex in lower_clip_outputs()
195 find_clipvertex_and_position_outputs(nir_shader *shader, nir_variable **clipvertex, nir_variable **position) find_clipvertex_and_position_outputs() argument
247 lower_clip_outputs(nir_builder *b, nir_variable *position, nir_variable *clipvertex, nir_variable **out, unsigned ucp_enables, bool use_vars, bool use_clipdist_array, const gl_state_index16 clipplane_state_tokens[][STATE_LENGTH]) lower_clip_outputs() argument
332 nir_variable *clipvertex = NULL; nir_lower_clip_vs() local
369 lower_clip_in_gs_block(nir_builder *b, nir_block *block, nir_variable *position, nir_variable *clipvertex, nir_variable **out, unsigned ucp_enables, bool use_clipdist_array, const gl_state_index16 clipplane_state_tokens[][STATE_LENGTH]) lower_clip_in_gs_block() argument
405 nir_variable *clipvertex = NULL; nir_lower_clip_gs() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_cliptest_tmp.h94 float *clipvertex = position; in do_cliptest() local
98 clipvertex = out->data[cv]; in do_cliptest()
142 * and the shader has written to it, otherwise use clipvertex in do_cliptest()
156 if (!(dot4(clipvertex, plane[plane_idx]) >= 0)) in do_cliptest()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_internal.h262 struct ac_export_args clipdist[2], LLVMValueRef clipvertex[4]);
H A Dsi_shader_llvm_vs.c386 struct ac_export_args clipdist[2], LLVMValueRef clipvertex[4]) in si_llvm_clipvertex_to_clipdist()
416 ac_build_fmad(&ctx->ac, base_elt, clipvertex[const_chan], in si_llvm_clipvertex_to_clipdist()
385 si_llvm_clipvertex_to_clipdist(struct si_shader_context *ctx, struct ac_export_args clipdist[2], LLVMValueRef clipvertex[4]) si_llvm_clipvertex_to_clipdist() argument
H A Dgfx10_shader_ngg.c916 LLVMValueRef clipvertex[4], in add_clipdist_bits_for_clipvertex()
922 si_llvm_clipvertex_to_clipdist(ctx, clipdist, clipvertex); in add_clipdist_bits_for_clipvertex()
1033 LLVMValueRef clipvertex[4]; in gfx10_ngg_culling_build_end() local
1086 clipvertex[j] = LLVMBuildLoad2(ctx->ac.builder, ctx->ac.f32, addrs[4 * i + j], ""); in gfx10_ngg_culling_build_end()
1088 if (add_clipdist_bits_for_clipvertex(ctx, clipdist_enable, clipvertex, &packed_data)) in gfx10_ngg_culling_build_end()
914 add_clipdist_bits_for_clipvertex(struct si_shader_context *ctx, unsigned clipdist_enable, LLVMValueRef clipvertex[4], LLVMValueRef *packed_data) add_clipdist_bits_for_clipvertex() argument

Completed in 9 milliseconds