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

Author: Marcin Ślusarz <[email protected]>
Date:   Fri Jan 27 16:57:15 2023 +0100

intel/compiler: remove unused field from fs_thread_payload

Reviewed-by: José Roberto de Souza <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20957>

---

 src/intel/compiler/brw_fs.h                  | 1 -
 src/intel/compiler/brw_fs_thread_payload.cpp | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h
index 454b587f3ac..56b50bd4be1 100644
--- a/src/intel/compiler/brw_fs.h
+++ b/src/intel/compiler/brw_fs.h
@@ -141,7 +141,6 @@ struct fs_thread_payload : public thread_payload {
    uint8_t sample_mask_in_reg[2];
    uint8_t depth_w_coef_reg[2];
    uint8_t barycentric_coord_reg[BRW_BARYCENTRIC_MODE_COUNT][2];
-   uint8_t local_invocation_id_reg[2];
 };
 
 struct cs_thread_payload : public thread_payload {
diff --git a/src/intel/compiler/brw_fs_thread_payload.cpp 
b/src/intel/compiler/brw_fs_thread_payload.cpp
index b28f7436afd..8b78114f61e 100644
--- a/src/intel/compiler/brw_fs_thread_payload.cpp
+++ b/src/intel/compiler/brw_fs_thread_payload.cpp
@@ -356,8 +356,7 @@ fs_thread_payload::fs_thread_payload(const fs_visitor &v,
     sample_pos_reg(),
     sample_mask_in_reg(),
     depth_w_coef_reg(),
-    barycentric_coord_reg(),
-    local_invocation_id_reg()
+    barycentric_coord_reg()
 {
    if (v.devinfo->ver >= 6)
       setup_fs_payload_gfx6(*this, v, source_depth_to_render_target);

Reply via email to