Re: [Mesa-dev] [PATCH 13/16] nvc0: enable compute support by default on Fermi

2015-10-18 Thread Pierre Moreau
An LLVM IR <-> SPIR-V was in the plans (see [first proposal][0] and [second proposal][1]). My guess is, it is still being worked on and we should hear some more around Siggraph Asia (2--5 November), if Khronos is to announce Vulkan and SPIR-V's final spec at that conference. Pierre PS: Just

Re: [Mesa-dev] [PATCH 13/16] nvc0: enable compute support by default on Fermi

2015-10-18 Thread Samuel Pitoiset
On 10/17/2015 09:11 PM, Jan Vesely wrote: Does this mean it should be possible to hook up clover with nouveau? As I said Ilia, this is just the ability to launch compute kernels on Fermi. Unfortunately, OpenCL is still not supported by Nouveau but I hope this is going to change. Jan On

Re: [Mesa-dev] [PATCH 13/16] nvc0: enable compute support by default on Fermi

2015-10-18 Thread Jan Vesely
On Sat, 2015-10-17 at 16:34 -0400, Ilia Mirkin wrote: > On Sat, Oct 17, 2015 at 4:31 PM, Ilia Mirkin > wrote: > > On Sat, Oct 17, 2015 at 4:24 PM, Jan Vesely > > wrote: > > > On Sat, 2015-10-17 at 15:24 -0400, Ilia Mirkin wrote: > > > > "compute" in

Re: [Mesa-dev] [PATCH 13/16] nvc0: enable compute support by default on Fermi

2015-10-17 Thread Jan Vesely
Does this mean it should be possible to hook up clover with nouveau? Jan On Fri, 2015-10-16 at 19:22 +0200, Samuel Pitoiset wrote: > Compute support was not enabled by default because weird effects > on 3D state happened, but I can't reproduce them anymore. > > This also enables MP performance

Re: [Mesa-dev] [PATCH 13/16] nvc0: enable compute support by default on Fermi

2015-10-17 Thread Ilia Mirkin
"compute" in this context is "initialize the compute engine so that kernels may be executed", not "convert the llvm ir bitcode that clover hands us into nv50 ir". The former has actually been around for years, Samuel just fixed up a few fermi-specific bits. On Sat, Oct 17, 2015 at 3:11 PM, Jan

Re: [Mesa-dev] [PATCH 13/16] nvc0: enable compute support by default on Fermi

2015-10-17 Thread Jan Vesely
On Sat, 2015-10-17 at 15:24 -0400, Ilia Mirkin wrote: > "compute" in this context is "initialize the compute engine so that > kernels may be executed", not "convert the llvm ir bitcode that > clover > hands us into nv50 ir". The former has actually been around for > years, > Samuel just fixed up a

Re: [Mesa-dev] [PATCH 13/16] nvc0: enable compute support by default on Fermi

2015-10-17 Thread Ilia Mirkin
On Sat, Oct 17, 2015 at 4:24 PM, Jan Vesely wrote: > On Sat, 2015-10-17 at 15:24 -0400, Ilia Mirkin wrote: >> "compute" in this context is "initialize the compute engine so that >> kernels may be executed", not "convert the llvm ir bitcode that >> clover >> hands us into

Re: [Mesa-dev] [PATCH 13/16] nvc0: enable compute support by default on Fermi

2015-10-17 Thread Ilia Mirkin
On Sat, Oct 17, 2015 at 4:31 PM, Ilia Mirkin wrote: > On Sat, Oct 17, 2015 at 4:24 PM, Jan Vesely wrote: >> On Sat, 2015-10-17 at 15:24 -0400, Ilia Mirkin wrote: >>> "compute" in this context is "initialize the compute engine so that >>> kernels may

[Mesa-dev] [PATCH 13/16] nvc0: enable compute support by default on Fermi

2015-10-16 Thread Samuel Pitoiset
Compute support was not enabled by default because weird effects on 3D state happened, but I can't reproduce them anymore. This also enables MP performance counters by default on Fermi. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/nouveau/nvc0/nvc0_query.c