Re: SPIR-V and GCC

2015-03-12 Thread Thomas Schwinge
Hi! On Fri, 6 Mar 2015 15:23:21 + (UTC), BogDan wrote: > > This http://www.g-truc.net/post-0714.html great article explans better > > what SPIR-V is. Note that I don't know anything about SPIR-V, and I'm currently too busy to learn about it, but: > I checked them a little bit and I'm afraid

Re: SPIR-V and GCC

2015-03-06 Thread BogDan
[...] > This http://www.g-truc.net/post-0714.html great article explans better > what SPIR-V is. Another use-case that occurred to me when I was looking at the link you posted above: using gcc for optimizing SPIR-V and compiling it e.g. to CPU code. As of gcc 5, libgccjit can be hooked up to a p

Re: SPIR-V and GCC

2015-03-05 Thread David Malcolm
On Thu, 2015-03-05 at 12:27 +0100, Xerxes Rånby wrote: > > On Wed, 2015-03-04 at 16:20 +, BogDan wrote: > > > On Wednesday, March 4, 2015 5:22 PM, David Malcolm > > > wrote: > > > On Wed, 2015-03-04 at 14:36 +, BogDan wrote: > > > > Hello folks, > > > > > > > > > > > > Probably is a littl

Re: SPIR-V and GCC

2015-03-05 Thread Xerxes Rånby
On Wed, 2015-03-04 at 16:20 +, BogDan wrote: > On Wednesday, March 4, 2015 5:22 PM, David Malcolm wrote: > On Wed, 2015-03-04 at 14:36 +, BogDan wrote: > > Hello folks, > > > > > > Probably is a little bit too early, but I'd like to ask if there is > > any chance to use gcc to produce SP

Re: SPIR-V and GCC

2015-03-04 Thread David Malcolm
On Wed, 2015-03-04 at 16:20 +, BogDan wrote: > On Wednesday, March 4, 2015 5:22 PM, David Malcolm > wrote: > On Wed, 2015-03-04 at 14:36 +, BogDan wrote: > > Hello folks, > > > > > > Probably is a little bit too early, but I'd like to ask if there is > > any chance to use gcc to produce

Re: SPIR-V and GCC

2015-03-04 Thread BogDan
On Wednesday, March 4, 2015 5:22 PM, David Malcolm wrote: On Wed, 2015-03-04 at 14:36 +, BogDan wrote: > Hello folks, > > > Probably is a little bit too early, but I'd like to ask if there is > any chance to use gcc to produce SPIR-V [1]. > It will be just great if we'll be able to write ou

Re: SPIR-V and GCC

2015-03-04 Thread David Malcolm
On Wed, 2015-03-04 at 14:36 +, BogDan wrote: > Hello folks, > > > Probably is a little bit too early, but I'd like to ask if there is > any chance to use gcc to produce SPIR-V [1]. > It will be just great if we'll be able to write our shaders in e.g. > C/C++/(any language supported by gcc) a

SPIR-V and GCC

2015-03-04 Thread BogDan
Hello folks, Probably is a little bit too early, but I'd like to ask if there is any chance to use gcc to produce SPIR-V [1]. It will be just great if we'll be able to write our shaders in e.g. C/C++/(any language supported by gcc) and use GCC to compile them as SPIR-V! It will be fantastic to