Re: [Mesa-dev] [rfc] ARB_gpu_shader_int64 support (softpipe/llvmpipe)

2016-06-09 Thread Marek Olšák
I'd prefer a normal pipe cap instead of per shader.

Marek
On Jun 9, 2016 6:03 AM, "Dave Airlie"  wrote:

> On 9 June 2016 at 10:48, Dave Airlie  wrote:
> > I started this quite a while back, and decided to spend some
> > time on it again, since it's the basis for a bunch of the newer
> > GL extensions.
> >
> > So this is my first pass at it, it's fairly complete, but it
> > definitely is missing some pieces before it's finished.
> >
> > The patchset add core mesa, gallium, softpipe and llvmpipe support.
> > I've got a few tests in piglit using a generator for all the built-ins
> > and operations that all pass.
> >
> > So the big thing here was OMG the conversions, and is also
> > the biggest missing thing in the gallium code, I haven't plumbed
> > through all the conversions into opcodes yet, I'm not really sure
> > if we need all of them, but it'll be a quite large opcode set,
> > and I wasn't feeling brave enough yet.
> >
> > The other things is I've implement MOD/DIV opcodes that may or
> > may not be useful on real hardware, if gallium drivers are okay
> > with lowering this in the backends then I'm fine with how it is.
> > (and gallium docs do need updating).
>
> I've also posted this to my arb_gpu_shader_int64 branch, and I've
> added some more bits I've been finding as I run tests.
>
> Dave.
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [rfc] ARB_gpu_shader_int64 support (softpipe/llvmpipe)

2016-06-08 Thread Dave Airlie
On 9 June 2016 at 10:48, Dave Airlie  wrote:
> I started this quite a while back, and decided to spend some
> time on it again, since it's the basis for a bunch of the newer
> GL extensions.
>
> So this is my first pass at it, it's fairly complete, but it
> definitely is missing some pieces before it's finished.
>
> The patchset add core mesa, gallium, softpipe and llvmpipe support.
> I've got a few tests in piglit using a generator for all the built-ins
> and operations that all pass.
>
> So the big thing here was OMG the conversions, and is also
> the biggest missing thing in the gallium code, I haven't plumbed
> through all the conversions into opcodes yet, I'm not really sure
> if we need all of them, but it'll be a quite large opcode set,
> and I wasn't feeling brave enough yet.
>
> The other things is I've implement MOD/DIV opcodes that may or
> may not be useful on real hardware, if gallium drivers are okay
> with lowering this in the backends then I'm fine with how it is.
> (and gallium docs do need updating).

I've also posted this to my arb_gpu_shader_int64 branch, and I've
added some more bits I've been finding as I run tests.

Dave.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [rfc] ARB_gpu_shader_int64 support (softpipe/llvmpipe)

2016-06-08 Thread Dave Airlie
I started this quite a while back, and decided to spend some
time on it again, since it's the basis for a bunch of the newer
GL extensions.

So this is my first pass at it, it's fairly complete, but it
definitely is missing some pieces before it's finished.

The patchset add core mesa, gallium, softpipe and llvmpipe support.
I've got a few tests in piglit using a generator for all the built-ins
and operations that all pass.

So the big thing here was OMG the conversions, and is also
the biggest missing thing in the gallium code, I haven't plumbed
through all the conversions into opcodes yet, I'm not really sure
if we need all of them, but it'll be a quite large opcode set,
and I wasn't feeling brave enough yet.

The other things is I've implement MOD/DIV opcodes that may or
may not be useful on real hardware, if gallium drivers are okay
with lowering this in the backends then I'm fine with how it is.
(and gallium docs do need updating).

Dave.



___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev