Lines Matching refs:bary
1069 unsigned bary; in brw_barycentric_mode() local
1073 bary = BRW_BARYCENTRIC_PERSPECTIVE_PIXEL; in brw_barycentric_mode()
1076 bary = BRW_BARYCENTRIC_PERSPECTIVE_CENTROID; in brw_barycentric_mode()
1080 bary = BRW_BARYCENTRIC_PERSPECTIVE_SAMPLE; in brw_barycentric_mode()
1087 bary += 3; in brw_barycentric_mode()
1089 return (enum brw_barycentric_mode) bary; in brw_barycentric_mode()
1096 centroid_to_pixel(enum brw_barycentric_mode bary) in centroid_to_pixel() argument
1098 assert(bary == BRW_BARYCENTRIC_PERSPECTIVE_CENTROID || in centroid_to_pixel()
1099 bary == BRW_BARYCENTRIC_NONPERSPECTIVE_CENTROID); in centroid_to_pixel()
1100 return (enum brw_barycentric_mode) ((unsigned) bary - 1); in centroid_to_pixel()
6580 enum brw_barycentric_mode bary = in brw_compute_barycentric_interp_modes() local
6583 barycentric_interp_modes |= 1 << bary; in brw_compute_barycentric_interp_modes()
6587 barycentric_interp_modes |= 1 << centroid_to_pixel(bary); in brw_compute_barycentric_interp_modes()