From: Timothy Arceri Date: Wed, 9 Aug 2017 03:34:05 +0000 (+1000) Subject: glsl: remove unused field from ir_call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53320e25b425b10478891c695ca9a3c0477abd22;p=mesa.git glsl: remove unused field from ir_call Reviewed-by: Thomas Helland Tested-by: Dieter Nützel --- diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h index ce4ade9e80a..170759abebd 100644 --- a/src/compiler/glsl/ir.h +++ b/src/compiler/glsl/ir.h @@ -1602,7 +1602,6 @@ public: { assert(callee->return_type != NULL); actual_parameters->move_nodes_to(& this->actual_parameters); - this->use_builtin = callee->is_builtin(); } ir_call(ir_function_signature *callee, @@ -1613,7 +1612,6 @@ public: { assert(callee->return_type != NULL); actual_parameters->move_nodes_to(& this->actual_parameters); - this->use_builtin = callee->is_builtin(); } virtual ir_call *clone(void *mem_ctx, struct hash_table *ht) const; @@ -1655,9 +1653,6 @@ public: /* List of ir_rvalue of paramaters passed in this call. */ exec_list actual_parameters; - /** Should this call only bind to a built-in function? */ - bool use_builtin; - /* * ARB_shader_subroutine support - * the subroutine uniform variable and array index