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,
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;
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 */
}
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;