~mmach/netext73/mesa-haswell

« back to all changes in this revision

Viewing changes to src/panfrost/bifrost/bi_helper_invocations.c

  • Committer: mmach
  • Date: 2021-09-22 11:42:15 UTC
  • Revision ID: netbit73@gmail.com-20210922114215-lnx6ab4yzl8xxx6s
2021-09-22 13:20:11

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
bi_analyze_helper_terminate(bi_context *ctx)
134
134
{
135
135
        /* Other shader stages do not have a notion of helper threads, so we
136
 
         * can skip the analysis */
137
 
        if (ctx->stage != MESA_SHADER_FRAGMENT)
 
136
         * can skip the analysis. Don't run for blend shaders, either, since
 
137
         * they run in the context of another shader that we don't see. */
 
138
        if (ctx->stage != MESA_SHADER_FRAGMENT || ctx->inputs->is_blend)
138
139
                return;
139
140
 
140
141
        /* Set blocks as directly requiring helpers, and if they do add them to