diff options
author | Matt Turner <mattst88@gmail.com> | 2017-07-06 18:45:14 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2017-08-21 14:45:44 -0700 |
commit | ee2f7aa03b650c95eda8957abd750e53ede34c33 (patch) | |
tree | baa1b56dd775a1f3753d7af061bd0ecfad5bd1e0 /src | |
parent | 384e27174d0c4c96279d51a037ea36618d51a851 (diff) |
glsl: Remove unused private fields
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/glsl/lower_int64.cpp | 4 | ||||
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/compiler/glsl/lower_int64.cpp b/src/compiler/glsl/lower_int64.cpp index b6bf9cee7d3..2d4fdbb1a55 100644 --- a/src/compiler/glsl/lower_int64.cpp +++ b/src/compiler/glsl/lower_int64.cpp @@ -69,7 +69,7 @@ namespace { class lower_64bit_visitor : public ir_rvalue_visitor { public: lower_64bit_visitor(void *mem_ctx, exec_list *instructions, unsigned lower) - : progress(false), lower(lower), instructions(instructions), + : progress(false), lower(lower), function_list(), added_functions(&function_list, mem_ctx) { functions = _mesa_hash_table_create(mem_ctx, @@ -111,8 +111,6 @@ public: private: unsigned lower; /** Bitfield of which operations to lower */ - exec_list *instructions; - /** Hashtable containing all of the known functions in the IR */ struct hash_table *functions; diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 0e6a95ce990..7499343a9a3 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -2418,7 +2418,7 @@ class add_uniform_to_shader : public program_resource_visitor { public: add_uniform_to_shader(struct gl_shader_program *shader_program, struct gl_program_parameter_list *params) - : shader_program(shader_program), params(params), idx(-1) + : params(params), idx(-1) { /* empty */ } @@ -2437,7 +2437,6 @@ private: const enum glsl_interface_packing packing, bool last_field); - struct gl_shader_program *shader_program; struct gl_program_parameter_list *params; int idx; ir_variable *var; |