Skip to content
  • Eric Anholt's avatar
    glsl2: Make the clone() method take a talloc context. · 8273bd46
    Eric Anholt authored
    In most cases, we needed to be reparenting the cloned IR to a
    different context (for example, to the linked shader instead of the
    unlinked shader), or optimization before the reparent would cause
    memory usage of the original object to grow and grow.
    8273bd46