diff --git a/src/compiler/spirv/tests/helpers.h b/src/compiler/spirv/tests/helpers.h index 609331987cb..e127df112b0 100644 --- a/src/compiler/spirv/tests/helpers.h +++ b/src/compiler/spirv/tests/helpers.h @@ -30,6 +30,7 @@ class spirv_test : public ::testing::Test { protected: spirv_test() + : shader(NULL) { glsl_type_singleton_init_or_ref(); }