Module: Mesa
Branch: master
Commit: 53320e25b425b10478891c695ca9a3c0477abd22
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=53320e25b425b10478891c695ca9a3c0477abd22

Author: Timothy Arceri <tarc...@itsqueeze.com>
Date:   Wed Aug  9 13:34:05 2017 +1000

glsl: remove unused field from ir_call

Reviewed-by: Thomas Helland <thomashellan...@gmail.com>
Tested-by: Dieter N├╝tzel <die...@nuetzel-hh.de>

---

 src/compiler/glsl/ir.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h
index ce4ade9e80..170759abeb 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

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to