util/hash_set: Rework the API to know about hashing
[mesa.git] / src / glsl / test_optpass.cpp
index 24c06f11b1424d3da3aa86f7686001bca8ac1795..ac3e3f48c510ae7976093f407d6087bd2738f9e4 100644 (file)
@@ -200,6 +200,7 @@ int test_optpass(int argc, char **argv)
    initialize_context_to_defaults(ctx, API_OPENGL_COMPAT);
 
    ctx->Driver.NewShader = _mesa_new_shader;
+   ir_variable::temporaries_allocate_names = true;
 
    struct gl_shader *shader = rzalloc(NULL, struct gl_shader);
    shader->Type = shader_type;