Re: [Mesa-dev] [PATCH v2 00/13] st/mesa: finally finish ARB_enhanced_layouts

2016-10-12 Thread Nicolai Hähnle

On 10.10.2016 10:32, Nicolai Hähnle wrote:

I've incorporated the minor comments I've received so far and fixed a
regression related to structs that I had missed. Luckily the fix is pretty
simple, because struct members cannot have explicit components. So it's
enough to force their usage mask to XYZW, which means they will be treated
the same as before. Please review!


I went ahead and pushed everything except for the last patch, after 
incorporating Marek's and Dave's suggestion, as well as fixing one last 
regression.


I _haven't_ pushed the GLSL 4.50 patch yet on purpose. My plan is to do 
that after the next release is branched off. There are still more than 
100 GL CTS failures to slog through, and I wouldn't count on managing 
that before the release. We'll get there for 17.0 though, I promise ;-)


Cheers,
Nicolai



Thanks
Nicolai
--
 docs/features.txt|  18 +-
 docs/relnotes/12.1.0.html|   2 +-
 src/compiler/glsl/ir_print_visitor.cpp   |  10 +-
 src/gallium/auxiliary/tgsi/tgsi_scan.c   |   9 +-
 src/gallium/auxiliary/tgsi/tgsi_ureg.c   | 115 +++-
 src/gallium/auxiliary/tgsi/tgsi_ureg.h   |  30 ++
 src/gallium/docs/source/screen.rst   |   8 +
 .../drivers/freedreno/freedreno_screen.c |   1 +
 src/gallium/drivers/i915/i915_screen.c   |   1 +
 src/gallium/drivers/ilo/ilo_screen.c |   1 +
 src/gallium/drivers/llvmpipe/lp_screen.c |   1 +
 .../drivers/nouveau/nv30/nv30_screen.c   |   1 +
 .../drivers/nouveau/nv50/nv50_screen.c   |   1 +
 .../drivers/nouveau/nvc0/nvc0_screen.c   |   1 +
 src/gallium/drivers/r300/r300_screen.c   |   1 +
 src/gallium/drivers/r600/r600_pipe.c |   1 +
 src/gallium/drivers/radeonsi/si_pipe.c   |   3 +-
 src/gallium/drivers/softpipe/sp_screen.c |   1 +
 src/gallium/drivers/svga/svga_screen.c   |   1 +
 src/gallium/drivers/swr/swr_screen.cpp   |   1 +
 src/gallium/drivers/vc4/vc4_screen.c |   1 +
 src/gallium/drivers/virgl/virgl_screen.c |   1 +
 src/gallium/include/pipe/p_defines.h |   1 +
 src/mesa/state_tracker/st_extensions.c   |   7 +
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp   | 465 ++---
 25 files changed, 432 insertions(+), 250 deletions(-)


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


Re: [Mesa-dev] [PATCH v2 00/13] st/mesa: finally finish ARB_enhanced_layouts

2016-10-11 Thread Dave Airlie
On 10 October 2016 at 18:32, Nicolai Hähnle  wrote:
> Hi all,
>
> I've incorporated the minor comments I've received so far and fixed a
> regression related to structs that I had missed. Luckily the fix is pretty
> simple, because struct members cannot have explicit components. So it's
> enough to force their usage mask to XYZW, which means they will be treated
> the same as before. Please review!

Apart from the suggestion I made, I think these all make sense, the glsl->tgsi
code was never greatly understood especially the writemasking stuff was always
 a bit tricky, but if this doesn't make anything worse in that area,
then lets go for it.

Reviewed-by: Dave Airlie  for all of it.

>
> Thanks
> Nicolai
> --
>  docs/features.txt|  18 +-
>  docs/relnotes/12.1.0.html|   2 +-
>  src/compiler/glsl/ir_print_visitor.cpp   |  10 +-
>  src/gallium/auxiliary/tgsi/tgsi_scan.c   |   9 +-
>  src/gallium/auxiliary/tgsi/tgsi_ureg.c   | 115 +++-
>  src/gallium/auxiliary/tgsi/tgsi_ureg.h   |  30 ++
>  src/gallium/docs/source/screen.rst   |   8 +
>  .../drivers/freedreno/freedreno_screen.c |   1 +
>  src/gallium/drivers/i915/i915_screen.c   |   1 +
>  src/gallium/drivers/ilo/ilo_screen.c |   1 +
>  src/gallium/drivers/llvmpipe/lp_screen.c |   1 +
>  .../drivers/nouveau/nv30/nv30_screen.c   |   1 +
>  .../drivers/nouveau/nv50/nv50_screen.c   |   1 +
>  .../drivers/nouveau/nvc0/nvc0_screen.c   |   1 +
>  src/gallium/drivers/r300/r300_screen.c   |   1 +
>  src/gallium/drivers/r600/r600_pipe.c |   1 +
>  src/gallium/drivers/radeonsi/si_pipe.c   |   3 +-
>  src/gallium/drivers/softpipe/sp_screen.c |   1 +
>  src/gallium/drivers/svga/svga_screen.c   |   1 +
>  src/gallium/drivers/swr/swr_screen.cpp   |   1 +
>  src/gallium/drivers/vc4/vc4_screen.c |   1 +
>  src/gallium/drivers/virgl/virgl_screen.c |   1 +
>  src/gallium/include/pipe/p_defines.h |   1 +
>  src/mesa/state_tracker/st_extensions.c   |   7 +
>  src/mesa/state_tracker/st_glsl_to_tgsi.cpp   | 465 ++---
>  25 files changed, 432 insertions(+), 250 deletions(-)
>
> ___
> 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] [PATCH v2 00/13] st/mesa: finally finish ARB_enhanced_layouts

2016-10-10 Thread Edward O'Callaghan
So with Dave's suggestion on patch 4 patches 1-9 and 11-13 are,
Reviewed-by: Edward O'Callaghan 

I could not get my head around the full implications of patch 10 but
seems fine so just,
Acked-by: Edward O'Callaghan 

Kind Regards,
Edward.

On 10/10/2016 07:32 PM, Nicolai Hähnle wrote:
> Hi all,
> 
> I've incorporated the minor comments I've received so far and fixed a
> regression related to structs that I had missed. Luckily the fix is pretty
> simple, because struct members cannot have explicit components. So it's
> enough to force their usage mask to XYZW, which means they will be treated
> the same as before. Please review!
> 
> Thanks
> Nicolai
> --
>  docs/features.txt|  18 +-
>  docs/relnotes/12.1.0.html|   2 +-
>  src/compiler/glsl/ir_print_visitor.cpp   |  10 +-
>  src/gallium/auxiliary/tgsi/tgsi_scan.c   |   9 +-
>  src/gallium/auxiliary/tgsi/tgsi_ureg.c   | 115 +++-
>  src/gallium/auxiliary/tgsi/tgsi_ureg.h   |  30 ++
>  src/gallium/docs/source/screen.rst   |   8 +
>  .../drivers/freedreno/freedreno_screen.c |   1 +
>  src/gallium/drivers/i915/i915_screen.c   |   1 +
>  src/gallium/drivers/ilo/ilo_screen.c |   1 +
>  src/gallium/drivers/llvmpipe/lp_screen.c |   1 +
>  .../drivers/nouveau/nv30/nv30_screen.c   |   1 +
>  .../drivers/nouveau/nv50/nv50_screen.c   |   1 +
>  .../drivers/nouveau/nvc0/nvc0_screen.c   |   1 +
>  src/gallium/drivers/r300/r300_screen.c   |   1 +
>  src/gallium/drivers/r600/r600_pipe.c |   1 +
>  src/gallium/drivers/radeonsi/si_pipe.c   |   3 +-
>  src/gallium/drivers/softpipe/sp_screen.c |   1 +
>  src/gallium/drivers/svga/svga_screen.c   |   1 +
>  src/gallium/drivers/swr/swr_screen.cpp   |   1 +
>  src/gallium/drivers/vc4/vc4_screen.c |   1 +
>  src/gallium/drivers/virgl/virgl_screen.c |   1 +
>  src/gallium/include/pipe/p_defines.h |   1 +
>  src/mesa/state_tracker/st_extensions.c   |   7 +
>  src/mesa/state_tracker/st_glsl_to_tgsi.cpp   | 465 ++---
>  25 files changed, 432 insertions(+), 250 deletions(-)
> 
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 



signature.asc
Description: OpenPGP digital signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev