Home
last modified time | relevance | path

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

/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_visitor.cpp820 src_reg pos_w = pos; in emit_ndc_computation() local
821 pos_w.swizzle = BRW_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, SWIZZLE_W, SWIZZLE_W); in emit_ndc_computation()
822 emit_math(SHADER_OPCODE_RCP, ndc_w, pos_w); in emit_ndc_computation()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1505 LLVMValueRef pos_x, pos_y, pos_z, pos_w; in generate_clipmask() local
1543 pos_w = LLVMBuildLoad2(builder, vec_type, outputs[pos][3], ""); /*w0 w1 .. wn */ in generate_clipmask()
1554 cv_w = pos_w; in generate_clipmask()
1568 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_x , pos_w); in generate_clipmask()
1574 test = LLVMBuildFAdd(builder, pos_x, pos_w, ""); in generate_clipmask()
1581 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_y, pos_w); in generate_clipmask()
1587 test = LLVMBuildFAdd(builder, pos_y, pos_w, ""); in generate_clipmask()
1604 test = LLVMBuildFAdd(builder, pos_z, pos_w, ""); in generate_clipmask()
1610 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_z, pos_w); in generate_clipmask()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c495 nir_ssa_def *pos_w = nir_channel(&b, intr->src[1].ssa, 3); in radv_force_primitive_shading_rate() local
496 nir_ssa_def *val = nir_bcsel(&b, nir_fneu(&b, pos_w, nir_imm_float(&b, 1.0f)), in radv_force_primitive_shading_rate()