From 48506a90296c5ec6216d3e775331e491491168c5 Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Mon, 7 Nov 2022 11:55:31 -0800 Subject: [PATCH] intel/compiler: Remove unused data members Reviewed-by: Kenneth Graunke Part-of: --- src/intel/compiler/brw_fs.h | 2 -- src/intel/compiler/brw_vec4.h | 4 ---- src/intel/compiler/brw_vec4_visitor.cpp | 1 - 3 files changed, 7 deletions(-) diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h index 155e563211c..a35e2e01099 100644 --- a/src/intel/compiler/brw_fs.h +++ b/src/intel/compiler/brw_fs.h @@ -461,7 +461,6 @@ public: */ int *push_constant_loc; - fs_reg scratch_base; fs_reg frag_depth; fs_reg frag_stencil; fs_reg sample_mask; @@ -533,7 +532,6 @@ public: fs_reg wpos_w; fs_reg pixel_w; fs_reg delta_xy[BRW_BARYCENTRIC_MODE_COUNT]; - fs_reg shader_start_time; fs_reg final_gs_vertex_count; fs_reg control_data_bits; fs_reg invocation_id; diff --git a/src/intel/compiler/brw_vec4.h b/src/intel/compiler/brw_vec4.h index d0b8b269b06..bc8e3ec900e 100644 --- a/src/intel/compiler/brw_vec4.h +++ b/src/intel/compiler/brw_vec4.h @@ -113,8 +113,6 @@ public: brw_analysis live_analysis; brw_analysis performance_analysis; - bool need_all_constants_in_pull_buffer; - /* Regs for vertex results. Generated at ir_variable visiting time * for the ir->location's used. */ @@ -123,8 +121,6 @@ public: const char *output_reg_annotation[VARYING_SLOT_TESS_MAX]; int uniforms; - src_reg shader_start_time; - bool run(); void fail(const char *msg, ...); diff --git a/src/intel/compiler/brw_vec4_visitor.cpp b/src/intel/compiler/brw_vec4_visitor.cpp index b2754cd75ec..33b6822f8c5 100644 --- a/src/intel/compiler/brw_vec4_visitor.cpp +++ b/src/intel/compiler/brw_vec4_visitor.cpp @@ -1363,7 +1363,6 @@ vec4_visitor::vec4_visitor(const struct brw_compiler *compiler, ubo_push_start(), push_length(0), live_analysis(this), performance_analysis(this), - need_all_constants_in_pull_buffer(false), no_spills(no_spills), last_scratch(0) {