On Sat, Feb 6, 2016 at 5:04 PM, Samuel Pitoiset
<[email protected]> wrote:
> @@ -92,6 +95,7 @@ st_use_program(struct gl_context *ctx, struct 
> gl_shader_program *shProg)
>     st->dirty.st |= ST_NEW_GEOMETRY_PROGRAM;
>     st->dirty.st |= ST_NEW_TESSCTRL_PROGRAM;
>     st->dirty.st |= ST_NEW_TESSEVAL_PROGRAM;
> +   st->dirty_cp.st |= ST_NEW_COMPUTE_PROGRAM;
>  }

No need to cross-dirty both pipelines... I think you can say like if
shProg->Stage == COMPUTE: do dirty_cp, otherwise do dirty.

  -ilia
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to