Searched refs:pos_w (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 867 LLVMValueRef pos_x, pos_y, pos_z, pos_w; in generate_clipmask() local 896 pos_w = LLVMBuildLoad(builder, outputs[pos][3], ""); /*w0 w1 .. wn */ in generate_clipmask() 907 cv_w = pos_w; in generate_clipmask() 913 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_x , pos_w); in generate_clipmask() 919 test = LLVMBuildFAdd(builder, pos_x, pos_w, ""); in generate_clipmask() 926 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_y, pos_w); in generate_clipmask() 932 test = LLVMBuildFAdd(builder, pos_y, pos_w, ""); in generate_clipmask() 949 test = LLVMBuildFAdd(builder, pos_z, pos_w, ""); in generate_clipmask() 955 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_z, pos_w); in generate_clipmask()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_vec4_visitor.cpp | 2114 src_reg pos_w = pos; in emit_ndc_computation() local 2115 pos_w.swizzle = BRW_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, SWIZZLE_W, SWIZZLE_W); in emit_ndc_computation() 2116 emit_math(SHADER_OPCODE_RCP, ndc_w, pos_w); in emit_ndc_computation()
|