From 473119ab91afc925cfdd68076a18415ad53b492d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= Date: Tue, 28 Oct 2025 11:39:48 -0700 Subject: [PATCH] brw: plug some holes in brw_wm_prog_data Remove two unused fields, and move a lonely boolean a bit up to plug the remaining hole. Because I was looking around and it bothered me. Acked-by: Alyssa Rosenzweig Part-of: --- src/intel/compiler/brw/brw_compiler.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/intel/compiler/brw/brw_compiler.h b/src/intel/compiler/brw/brw_compiler.h index 5b6da7a1874..4e5b9b234b1 100644 --- a/src/intel/compiler/brw/brw_compiler.h +++ b/src/intel/compiler/brw/brw_compiler.h @@ -712,8 +712,11 @@ struct brw_wm_prog_data { bool has_side_effects; bool pulls_bary; - bool contains_flat_varying; - bool contains_noperspective_varying; + /** + * Whether nonperspective interpolation modes are used by the + * barycentric_interp_modes or fragment shader through interpolator messages. + */ + bool uses_nonperspective_interp_modes; /** Fragment shader barycentrics * @@ -788,12 +791,6 @@ struct brw_wm_prog_data { */ uint32_t barycentric_interp_modes; - /** - * Whether nonperspective interpolation modes are used by the - * barycentric_interp_modes or fragment shader through interpolator messages. - */ - bool uses_nonperspective_interp_modes; - /** * Mask of which FS inputs are marked flat by the shader source. This is * needed for setting up 3DSTATE_SF/SBE.