Searched refs:pos_w (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 1146 LLVMValueRef pos_x, pos_y, pos_z, pos_w; in generate_clipmask() local 1182 pos_w = LLVMBuildLoad(builder, outputs[pos][3], ""); /*w0 w1 .. wn */ in generate_clipmask() 1193 cv_w = pos_w; in generate_clipmask() 1207 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_x , pos_w); in generate_clipmask() 1213 test = LLVMBuildFAdd(builder, pos_x, pos_w, ""); in generate_clipmask() 1220 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_y, pos_w); in generate_clipmask() 1226 test = LLVMBuildFAdd(builder, pos_y, pos_w, ""); in generate_clipmask() 1243 test = LLVMBuildFAdd(builder, pos_z, pos_w, ""); in generate_clipmask() 1249 test = lp_build_compare(gallivm, f32_type, PIPE_FUNC_GREATER, pos_z, pos_w); in generate_clipmask()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_vec4_visitor.cpp | 1167 src_reg pos_w = pos; in emit_ndc_computation() local 1168 pos_w.swizzle = BRW_SWIZZLE4(SWIZZLE_W, SWIZZLE_W, SWIZZLE_W, SWIZZLE_W); in emit_ndc_computation() 1169 emit_math(SHADER_OPCODE_RCP, ndc_w, pos_w); in emit_ndc_computation()
|