diff options
-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; |