glsl: fix the type of ir_constant_data::u16
[mesa.git] / src / compiler / glsl / lower_if_to_cond_assign.cpp
index 0d6aa0049d43e25dce10423ecc543ae45a772eaf..ca61f1d52739f9eace58a5a25a2392cbebccd4c6 100644 (file)
@@ -71,9 +71,7 @@ public:
       this->min_branch_cost = min_branch_cost;
       this->depth = 0;
 
-      this->condition_variables =
-            _mesa_set_create(NULL, _mesa_hash_pointer,
-                                    _mesa_key_pointer_equal);
+      this->condition_variables = _mesa_pointer_set_create(NULL);
    }
 
    ~ir_if_to_cond_assign_visitor()