On Mon, Apr 17, 2017 at 7:55 PM, Edward O'Callaghan
<funfunc...@folklore1984.net> wrote:
>
>
> 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?

It forces the draw to wait for those to complete, of course. But it
also lets you do other things while you wait for them to compile,
whereas with regular GL, there's no way to do that.

>>
>> 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?

Have a look at src/mapi/glapi/gen.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to