[Mesa-dev] Draft ARB_parallel_shader_compile RFC

Ilia Mirkin imirkin at alum.mit.edu
Mon Apr 17 14:22:35 UTC 2017


The whole point of this extension is to allow applications to query
compilation status without stalling, waiting for the compile. That
means that glCompileShader/glLinkProgram should return immediately
while the real work proceeds in the background. I don't think you've
done that here.

As an aside, did you test this? I'm pretty sure the
MaxShaderCompilerThreadsARB entrypoint is unreachable.

On Mon, Apr 17, 2017 at 8:07 AM, Edward O'Callaghan
<funfunctor at folklore1984.net> wrote:
> Hi folks,
>
> This is my early draft on the threaded shader compile "suggestion"
> thread. The requirements according the spec are rather weak as
> it is up to the implementation, which frankly can even just ignore
> the requested thread count. However, afaik in the case of radeonsi
> it is already threaded. Anyhoo I just wanted to get some feedback..
>
> Please kindly review,
>
> Edward O'Callaghan (3):
>
>  [PATCH 1/3] mesa: Add ARB_parallel_shader_compile boilerplate
>  [PATCH 2/3] mesa: implement ARB_parallel_shader_compile
>  [PATCH 3/3] st/mesa: enable ARB_parallel_shader_compile
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list