Re: [Mesa-dev] RFC: parallel shader compiles in mesa

2015-11-04 Thread Jason Ekstrand
On Wed, Nov 4, 2015 at 8:43 PM, Matt Turner wrote: > On Sun, Nov 1, 2015 at 4:27 PM, Connor Abbott wrote: >> There was already some work done for this (with i965) a while back: >> >> http://lists.freedesktop.org/archives/mesa-dev/2014-July/063008.html >> >> IIRC the reason it didn't get merged wa

Re: [Mesa-dev] RFC: parallel shader compiles in mesa

2015-11-04 Thread Matt Turner
On Sun, Nov 1, 2015 at 4:27 PM, Connor Abbott wrote: > There was already some work done for this (with i965) a while back: > > http://lists.freedesktop.org/archives/mesa-dev/2014-July/063008.html > > IIRC the reason it didn't get merged was that Chia never actually made > sure that the compiler wa

Re: [Mesa-dev] RFC: parallel shader compiles in mesa

2015-11-01 Thread Ilia Mirkin
On Sun, Nov 1, 2015 at 7:27 PM, Connor Abbott wrote: > There was already some work done for this (with i965) a while back: > > http://lists.freedesktop.org/archives/mesa-dev/2014-July/063008.html > > IIRC the reason it didn't get merged was that Chia never actually made > sure that the compiler wa

Re: [Mesa-dev] RFC: parallel shader compiles in mesa

2015-11-01 Thread Connor Abbott
There was already some work done for this (with i965) a while back: http://lists.freedesktop.org/archives/mesa-dev/2014-July/063008.html IIRC the reason it didn't get merged was that Chia never actually made sure that the compiler was threadsafe (despite some patches fixing some things). I can't

[Mesa-dev] RFC: parallel shader compiles in mesa

2015-11-01 Thread Ilia Mirkin
AFAIK, nothing in the spec prevents shader compiles to happen in the background. Further, ARB_parallel_shader_compile provides a way to explicitly support this by providing a non-blocking query of current compile status. I take this to mean that any "regular" touch of the shader/programs will wait