[Mesa-dev] V3 Shared shader info

Timothy Arceri timothy.arceri at collabora.com
Wed Oct 19 23:09:17 UTC 2016

- create a temporary copy_shader_info() helper and split up the changes
  in this series for easier review as suggested by Jason/Ken.
- a couple of small changes as suggested by Ian and Marek (more details in

Having the shader info struct in nir_shader makes things difficult for
the shader cache, and means we are copying values in the glsl->nir pass
unnecessarily. This series creates a shared shader info and makes a bunch
of clean-ups based on this change.

The st changes have been tested against llvmpipe.

There is still more work to be done to remove some of the now duplicate
fields in gl_program but I'll send that in a follow up series.

More information about the mesa-dev mailing list