[Mesa-dev] [PATCH 01/10] glsl: add support for tracking atomic counter index across stages.

Ilia Mirkin imirkin at alum.mit.edu
Thu Nov 2 12:34:12 UTC 2017


On Thu, Nov 2, 2017 at 1:42 AM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> If we have hardware like evergreen with limited hw counters, we need
> to assign each used counter in a series of linked shaders a unique
> index so the driver can assign them to the hw counters uniquely.
>
> Since I need to know this information at compile time, I would
> have to introduce shader variants in the backend for it if I can't
> get it provided from the frontend, so this adds it to the front end
> to avoid that.

Does this approach work with single-stage SSO programs?

  -ilia


More information about the mesa-dev mailing list