Module: Mesa
Branch: main
Commit: ffa458ee8fa3ca15cbf23573a6cfe98ac96ac526
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffa458ee8fa3ca15cbf23573a6cfe98ac96ac526

Author: Yonggang Luo <[email protected]>
Date:   Tue Oct 10 02:53:56 2023 +0800

nir: remove redundant include of gallium headers

Signed-off-by: Yonggang Luo <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25880>

---

 src/compiler/nir/nir_gather_info.c       | 1 -
 src/compiler/nir/nir_lower_wpos_center.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/compiler/nir/nir_gather_info.c 
b/src/compiler/nir/nir_gather_info.c
index 40a5a421e28..040949fe1b4 100644
--- a/src/compiler/nir/nir_gather_info.c
+++ b/src/compiler/nir/nir_gather_info.c
@@ -21,7 +21,6 @@
  * IN THE SOFTWARE.
  */
 
-#include "main/menums.h"
 #include "nir.h"
 #include "nir_deref.h"
 
diff --git a/src/compiler/nir/nir_lower_wpos_center.c 
b/src/compiler/nir/nir_lower_wpos_center.c
index 7d46a6afd86..55b09f139fb 100644
--- a/src/compiler/nir/nir_lower_wpos_center.c
+++ b/src/compiler/nir/nir_lower_wpos_center.c
@@ -22,7 +22,6 @@
  * IN THE SOFTWARE.
  */
 
-#include "program/prog_instruction.h"
 #include "nir.h"
 #include "nir_builder.h"
 

Reply via email to