Mesa (master): intel/compiler: remove unused fs_validator::param_size

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Sep 10 12:27:51 UTC 2020


Module: Mesa
Branch: master
Commit: 40b964dc8f3b020841dce65ec7075dbdbacc17f1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=40b964dc8f3b020841dce65ec7075dbdbacc17f1

Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Wed Sep  9 18:26:56 2020 +0200

intel/compiler: remove unused fs_validator::param_size

Found by Coverity as unitialized variable.

Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6667>

---

 src/intel/compiler/brw_fs.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h
index 0843f6e73fc..bf57f8e2f8f 100644
--- a/src/intel/compiler/brw_fs.h
+++ b/src/intel/compiler/brw_fs.h
@@ -343,8 +343,6 @@ public:
 
    const struct brw_vue_map *input_vue_map;
 
-   int *param_size;
-
    BRW_ANALYSIS(live_analysis, brw::fs_live_variables,
                 backend_shader *) live_analysis;
    BRW_ANALYSIS(regpressure_analysis, brw::register_pressure,



More information about the mesa-commit mailing list