Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / compiler / glsl / link_varyings.h
index b802250819e718bbd2a4da6dcf9e72b68b7406dc..6f4bcdc79c59cee051d73975d168e9c569cdbf75 100644 (file)
@@ -104,6 +104,7 @@ public:
               const void *mem_ctx) const;
    const tfeedback_candidate *find_candidate(gl_shader_program *prog,
                                              hash_table *tfeedback_candidates);
+   void set_lowered_candidate(const tfeedback_candidate *candidate);
 
    bool is_next_buffer_separator() const
    {
@@ -123,6 +124,11 @@ public:
       return !this->next_buffer_separator && !this->skip_components;
    }
 
+   bool is_aligned(unsigned dmul, unsigned offset) const
+   {
+      return (dmul * (this->array_subscript + offset)) % 4 == 0;
+   }
+
    const char *name() const
    {
       return this->orig_name;