Searched refs:neg_w (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_cull.c | 48 nir_ssa_def *neg_w = nir_flt(b, pos[i][3], nir_imm_float(b, 0.0f)); in analyze_position_w() local 49 w_info->w_reflection = nir_ixor(b, neg_w, w_info->w_reflection); in analyze_position_w() 50 w_info->any_w_negative = nir_ior(b, neg_w, w_info->any_w_negative); in analyze_position_w() 51 all_w_negative = nir_iand(b, neg_w, all_w_negative); in analyze_position_w()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_cull.c | 64 LLVMValueRef neg_w; in ac_analyze_position_w() local 66 neg_w = LLVMBuildFCmp(builder, LLVMRealOLT, pos[i][3], ctx->f32_0, ""); in ac_analyze_position_w() 68 w->w_reflection = LLVMBuildXor(builder, w->w_reflection, neg_w, ""); in ac_analyze_position_w() 69 w->any_w_negative = LLVMBuildOr(builder, w->any_w_negative, neg_w, ""); in ac_analyze_position_w() 70 all_w_negative = LLVMBuildAnd(builder, all_w_negative, neg_w, ""); in ac_analyze_position_w()
|