glsl: Remove unused private fields
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
@@ -69,7 +69,7 @@ namespace {
|
|||||||
class lower_64bit_visitor : public ir_rvalue_visitor {
|
class lower_64bit_visitor : public ir_rvalue_visitor {
|
||||||
public:
|
public:
|
||||||
lower_64bit_visitor(void *mem_ctx, exec_list *instructions, unsigned lower)
|
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)
|
function_list(), added_functions(&function_list, mem_ctx)
|
||||||
{
|
{
|
||||||
functions = _mesa_hash_table_create(mem_ctx,
|
functions = _mesa_hash_table_create(mem_ctx,
|
||||||
@@ -111,8 +111,6 @@ public:
|
|||||||
private:
|
private:
|
||||||
unsigned lower; /** Bitfield of which operations to lower */
|
unsigned lower; /** Bitfield of which operations to lower */
|
||||||
|
|
||||||
exec_list *instructions;
|
|
||||||
|
|
||||||
/** Hashtable containing all of the known functions in the IR */
|
/** Hashtable containing all of the known functions in the IR */
|
||||||
struct hash_table *functions;
|
struct hash_table *functions;
|
||||||
|
|
||||||
|
@@ -2418,7 +2418,7 @@ class add_uniform_to_shader : public program_resource_visitor {
|
|||||||
public:
|
public:
|
||||||
add_uniform_to_shader(struct gl_shader_program *shader_program,
|
add_uniform_to_shader(struct gl_shader_program *shader_program,
|
||||||
struct gl_program_parameter_list *params)
|
struct gl_program_parameter_list *params)
|
||||||
: shader_program(shader_program), params(params), idx(-1)
|
: params(params), idx(-1)
|
||||||
{
|
{
|
||||||
/* empty */
|
/* empty */
|
||||||
}
|
}
|
||||||
@@ -2437,7 +2437,6 @@ private:
|
|||||||
const enum glsl_interface_packing packing,
|
const enum glsl_interface_packing packing,
|
||||||
bool last_field);
|
bool last_field);
|
||||||
|
|
||||||
struct gl_shader_program *shader_program;
|
|
||||||
struct gl_program_parameter_list *params;
|
struct gl_program_parameter_list *params;
|
||||||
int idx;
|
int idx;
|
||||||
ir_variable *var;
|
ir_variable *var;
|
||||||
|
Reference in New Issue
Block a user