summaryrefslogtreecommitdiff
path: root/lib/mesa/src/compiler/glsl/tests/invalidate_locations_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/compiler/glsl/tests/invalidate_locations_test.cpp')
-rw-r--r--lib/mesa/src/compiler/glsl/tests/invalidate_locations_test.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/mesa/src/compiler/glsl/tests/invalidate_locations_test.cpp b/lib/mesa/src/compiler/glsl/tests/invalidate_locations_test.cpp
index 7ed7f6a81..ba94d7e3a 100644
--- a/lib/mesa/src/compiler/glsl/tests/invalidate_locations_test.cpp
+++ b/lib/mesa/src/compiler/glsl/tests/invalidate_locations_test.cpp
@@ -21,7 +21,8 @@
* DEALINGS IN THE SOFTWARE.
*/
#include <gtest/gtest.h>
-#include "util/compiler.h"
+#include "main/compiler.h"
+#include "main/mtypes.h"
#include "main/macros.h"
#include "util/ralloc.h"
#include "ir.h"
@@ -45,8 +46,6 @@ public:
void
invalidate_locations::SetUp()
{
- glsl_type_singleton_init_or_ref();
-
this->mem_ctx = ralloc_context(NULL);
this->ir.make_empty();
}
@@ -56,8 +55,6 @@ invalidate_locations::TearDown()
{
ralloc_free(this->mem_ctx);
this->mem_ctx = NULL;
-
- glsl_type_singleton_decref();
}
TEST_F(invalidate_locations, simple_vertex_in_generic)