[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Shader Compilation


This one is about async compiling but also knowing when it finished:

In Angle

Not sure it would work in sync mode though, I agree that it would be very useful too. 


On Thu, Jul 26, 2018 at 5:45 AM Markus Mönig <markus.moenig@googlemail.com> wrote:


I know this has probably been discussed many times, but will it ever
be possible to know when a shader has finished compiling in WebGL v2 ?

When the disjoint timer extension is back working again, for me this
is the biggest limitation in WebGL. Not even async compiling, just
knowing when the shader is finished.

In my apps, when the shader gets complex I just don't know when it's
safe to use it, and every access before compilation was finished
results in blocking the app which really _sucks_.



You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl