Re: [Mesa-dev] [PATCH v0] nir: mako all the intrinsics

2018-03-17 Thread Jason Ekstrand
On Sat, Mar 17, 2018 at 10:32 PM, Dylan Baker wrote: > Quoting Jason Ekstrand (2018-03-17 09:53:13) > > On March 16, 2018 23:36:50 Dylan Baker wrote: > > > > > Quoting Rob Clark (2018-03-16 14:25:09) > > >> On Fri, Mar 16, 2018 at 4:30 PM, Dylan Baker > wrote: > > >> > Quoting Rob Clark (2018-0

Re: [Mesa-dev] [PATCH v0] nir: mako all the intrinsics

2018-03-17 Thread Dylan Baker
Quoting Jason Ekstrand (2018-03-17 09:53:13) > On March 16, 2018 23:36:50 Dylan Baker wrote: > > > Quoting Rob Clark (2018-03-16 14:25:09) > >> On Fri, Mar 16, 2018 at 4:30 PM, Dylan Baker wrote: > >> > Quoting Rob Clark (2018-03-16 12:20:10) > >> >> On Fri, Mar 16, 2018 at 3:13 PM, Jason Ekstra

Re: [Mesa-dev] Question about min_index/max_index calculation

2018-03-17 Thread Marek Olšák
The index bounds are computed only when they are needed for uploading vertices that are passed via a CPU pointer (user_buffer). In all other cases, computing the index bounds has a performance cost, which can be very significant. If you rely on u_vbuf to upload vertices for you, you shouldn't need

[Mesa-dev] Patchwork has 'Server Error (500)'

2018-03-17 Thread Dieter Nützel
@ least, here fromm Germany. https://patchwork.freedesktop.org/ Server Error (500) emeril.freedesktop.org is still alive. Dieter ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v0] nir: mako all the intrinsics

2018-03-17 Thread Rob Clark
On Fri, Mar 16, 2018 at 2:28 PM, Dylan Baker wrote: > Quoting Rob Clark (2018-03-15 18:43:28) >> I threatened to do this a long time ago.. I probably *should* have done >> it a long time ago when there where many fewer intrinsics. But the >> system of macro/#include magic for dealing with intrins

[Mesa-dev] [PATCH 1/2] nir: Initial implementation of a nir_instr_worklist

2018-03-17 Thread Thomas Helland
Make a simple worklist by basically just wrapping u_vector. This is intended used in nir_opt_dce to reduce the number of calls to ralloc, as we are currenlty spamming ralloc quite bad. It should also give better cache locality and much lower memory usage. --- src/compiler/nir/nir_worklist.h | 69 +

[Mesa-dev] [PATCH 2/2] nir: Migrate nir_dce to instr worklist

2018-03-17 Thread Thomas Helland
Shader-db runtime change avarage of five runs: Before 125,77 seconds (+/- 0,09%) After 124,48 seconds (+/- 0,07%) --- src/compiler/nir/nir_opt_dce.c | 53 ++--- src/compiler/nir/nir_worklist.h | 1 + 2 files changed, 19 insertions(+), 35 deletions(-) d

[Mesa-dev] [PATCH 0/2] nir_instr_worklist for nir_opt_dce V2

2018-03-17 Thread Thomas Helland
This is take two on reducing ralloc overhead in nir_opt_dce. I've ditched the previous solution with a freelist, and instead gone for a wrapper on u_vector. That should remove the need for a freelist alltogether, and at the same time lower our memory usage. CC: Eric Anholt Thomas Helland (2):

Re: [Mesa-dev] [PATCH] i965: Add INTEL_DEBUG stages support for disk shader cache

2018-03-17 Thread Matt Turner
Nice. Thanks! Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] Question about min_index/max_index calculation

2018-03-17 Thread Ilia Mirkin
On Sat, Mar 17, 2018 at 2:12 PM, Erico Nunes wrote: > Hi all, > > I have been working to add indexed drawing/glDrawElements support to > the mesa-lima driver currently in development > (https://github.com/yuq/mesa-lima). > For that implementation, it seems that we need to have the minimum and > ma

[Mesa-dev] Question about min_index/max_index calculation

2018-03-17 Thread Erico Nunes
Hi all, I have been working to add indexed drawing/glDrawElements support to the mesa-lima driver currently in development (https://github.com/yuq/mesa-lima). For that implementation, it seems that we need to have the minimum and maximum index values from the index buffer available in order to set

Re: [Mesa-dev] [PATCH] nir/dead_cf: also remove useless ifs

2018-03-17 Thread Jason Ekstrand
On March 16, 2018 18:25:14 Caio Marcelo de Oliveira Filho wrote: Generalize the code for remove dead loops to also remove dead if nodes. The conditions are the same in both cases, if the node (and it's children) don't have side-effects AND the nodes after it don't use the values produced by th

Re: [Mesa-dev] [PATCH v0] nir: mako all the intrinsics

2018-03-17 Thread Jason Ekstrand
On March 16, 2018 23:36:50 Dylan Baker wrote: Quoting Rob Clark (2018-03-16 14:25:09) On Fri, Mar 16, 2018 at 4:30 PM, Dylan Baker wrote: > Quoting Rob Clark (2018-03-16 12:20:10) >> On Fri, Mar 16, 2018 at 3:13 PM, Jason Ekstrand wrote: >> > On Fri, Mar 16, 2018 at 11:53 AM, Dylan Baker

[Mesa-dev] [Bug 105412] [OpenGL] [HD 7790] - VSYNC always ON in all videogames

2018-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105412 Michel Dänzer changed: What|Removed |Added Component|Drivers/Vulkan/radeon |DRM/Radeon QA Contact|mesa-dev@

[Mesa-dev] [Bug 105442] Hang when running nine ff lighting shader with radeonsi

2018-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105442 mirh changed: What|Removed |Added CC||m...@protonmail.ch -- You are receiving this ma

[Mesa-dev] [Bug 105551] Unable to compile on FreeBSD 9.x and therefore derivatives... undefined reference to `loader_get_extensions_name'

2018-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105551 Michelle Sullivan changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 105412] [OpenGL] [HD 7790] - VSYNC always ON in all videogames

2018-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105412 --- Comment #7 from Vasya --- Created attachment 138165 --> https://bugs.freedesktop.org/attachment.cgi?id=138165&action=edit cs source -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the