[Mesa-dev] Draft ARB_parallel_shader_compile RFC
Edward O'Callaghan
funfunctor at folklore1984.net
Mon Apr 17 23:55:41 UTC 2017
On 04/18/2017 12:22 AM, Ilia Mirkin wrote:
> 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
Right, my question though is, what happens if the application doesn't
query the completion status and attempts to use them while they are
JIT'ing, is that simply undefined?
> while the real work proceeds in the background. I don't think you've
> done that here.
Of course not.
>
> As an aside, did you test this? I'm pretty sure the
> MaxShaderCompilerThreadsARB entrypoint is unreachable.
Ah yes, I tested the query but couldn't get that hooked up. How can I
get it to become part of the dispatch table?
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170418/1879f4a0/attachment.sig>
More information about the mesa-dev
mailing list