[Mesa-dev] [Bug 84145] UE4: Realistic Rendering Demo render blue

2014-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84145 Ilia Mirkin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH] glsl: Structures must have same name to be considered same type.

2014-09-25 Thread Tapani Pälli
On 09/26/2014 04:25 AM, kalyan kondapally wrote: > On Wed, Sep 24, 2014 at 11:45 AM, Anuj Phogat wrote: >> On Mon, Sep 22, 2014 at 5:11 AM, Tapani Pälli wrote: >>> From: Kalyan Kondapally >>> >>> According to GLSL(4.2) and GLSL-ES (1.0, 3.0) spec, Structures must >>> have the same name to be con

Re: [Mesa-dev] [PATCH 6/6] st/va: implement vlVa(Query|Create|Get|Put|Destroy)Image

2014-09-25 Thread Gwenole Beauchesne
Hi Leo, 2014-09-26 0:36 GMT+02:00 Liu, Leo : > Hi Gwenole, > > >>-Original Message- >>From: Gwenole Beauchesne [mailto:gb.de...@gmail.com] >>Sent: Thursday, September 25, 2014 7:41 AM >>To: Liu, Leo >>Cc: mesa-dev@lists.freedesktop.org >>Subject: Re: [Mesa-dev] [PATCH 6/6] st/va: implement

[Mesa-dev] [PATCH] gm107/ir: take relative pfetch offset into account

2014-09-25 Thread Ilia Mirkin
There is no dedicated instruction for this, so just combine it with the constant offset. Signed-off-by: Ilia Mirkin Cc: "10.3" --- This fixes the spec/glsl-1.50/execution/geometry/dynamic_input_array_index piglit test. src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_gm107.cpp | 5 -

[Mesa-dev] [Bug 54234] link break after git pull august 29

2014-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54234 Alexandre Demers changed: What|Removed |Added CC|alexandre.f.dem...@gmail.co | |m

[Mesa-dev] [Bug 45466] Updated configure.ac check for llvm-config to use 32 version when appropriate

2014-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45466 Alexandre Demers changed: What|Removed |Added CC|alexandre.f.dem...@gmail.co | |m

[Mesa-dev] [Bug 69874] Automake throws a lot of "[...] option 'subdir-objects' is disabled"

2014-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69874 Alexandre Demers changed: What|Removed |Added CC|alexandre.f.dem...@gmail.co | |m

Re: [Mesa-dev] [PATCH] glsl: Structures must have same name to be considered same type.

2014-09-25 Thread kalyan kondapally
On Wed, Sep 24, 2014 at 11:45 AM, Anuj Phogat wrote: > On Mon, Sep 22, 2014 at 5:11 AM, Tapani Pälli wrote: >> From: Kalyan Kondapally >> >> According to GLSL(4.2) and GLSL-ES (1.0, 3.0) spec, Structures must >> have the same name to be considered same type. We currently ignore >> the name check

Re: [Mesa-dev] [PATCH 1/1] glapi: Fix compiler warning and script name

2014-09-25 Thread Jan Vesely
On Wed, 2014-08-13 at 16:47 -0400, Jan Vesely wrote: > Signed-off-by: Jan Vesely > --- > src/mapi/glapi/gen/gl_gentable.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/mapi/glapi/gen/gl_gentable.py > b/src/mapi/glapi/gen/gl_gentable.py > index 7577b66..c49f9a

Re: [Mesa-dev] [PATCH 6/6] st/va: implement vlVa(Query|Create|Get|Put|Destroy)Image

2014-09-25 Thread Liu, Leo
Hi Gwenole, >-Original Message- >From: Gwenole Beauchesne [mailto:gb.de...@gmail.com] >Sent: Thursday, September 25, 2014 7:41 AM >To: Liu, Leo >Cc: mesa-dev@lists.freedesktop.org >Subject: Re: [Mesa-dev] [PATCH 6/6] st/va: implement >vlVa(Query|Create|Get|Put|Destroy)Image > >Hi, > >2014

Re: [Mesa-dev] Initial Skylake enabling

2014-09-25 Thread Anuj Phogat
On Wed, Sep 24, 2014 at 5:54 PM, Anuj Phogat wrote: > On Wed, Sep 24, 2014 at 12:28 PM, Kristian Høgsberg > wrote: >> Here's a set of 16 patches to bring up mesa on Skylake (GEN 9). This is >> just initial enabling, there's more work to do. Most patches have been >> written/reviewed/signed-off

Re: [Mesa-dev] [PATCH] gallivm: More fallout from disabling with LLVM 3.6

2014-09-25 Thread Tom Stellard
On Thu, Sep 25, 2014 at 12:24:14PM +0900, Michel Dänzer wrote: > From: Michel Dänzer > > The draw module would still try to use gallivm, causing many piglit tests > to fail with an assertion failure. llvmpipe might have been similarly > affected. > Reviewed-by: Tom Stellard > Signed-off-by: Mic

[Mesa-dev] [PATCH] configure.ac: Compute LLVM_VERSION_PATCH using llvm-config

2014-09-25 Thread Tom Stellard
This is the only guaranteed way get the patch level for llvm, since the define cannot always be found in config.h depending on the version of llvm or the build system used. CC: mesa-sta...@lists.freedesktop.org --- configure.ac | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff

Re: [Mesa-dev] [PATCH 1/4] radeonsi/compute: directly emit CONTEXT_CONTROL

2014-09-25 Thread Tom Stellard
On Mon, Sep 22, 2014 at 09:48:43PM +0200, Marek Olšák wrote: > No, we cannot detect compute-only contexts yet. We need to add a new > parameter to pipe_context::context_create which says that a context is > compute-only. That should be OpenCL but not OpenGL. > > Also, some code paths like resource

[Mesa-dev] [PATCH] glapi: Remove _x86_64_get_get_dispatch symbol from x86-64 assembly.

2014-09-25 Thread Matt Turner
Never used. --- src/mapi/glapi/gen/gl_x86-64_asm.py | 6 -- 1 file changed, 6 deletions(-) diff --git a/src/mapi/glapi/gen/gl_x86-64_asm.py b/src/mapi/glapi/gen/gl_x86-64_asm.py index 19e0e15..3a0eec9 100644 --- a/src/mapi/glapi/gen/gl_x86-64_asm.py +++ b/src/mapi/glapi/gen/gl_x86-64_asm.py

[Mesa-dev] [PATCH] i965: Use memset to do fast color clears on non-busy miptrees.

2014-09-25 Thread Kenneth Graunke
Fast color clears simply fill the MCS buffer with 0xff. If the MCS BO is not busy, we can map it without stalling and simply use memset to do that, without having to reprogram the entire GPU, draw rectangles, and invoke pixel shaders. This is presumably cheaper. This code was swiped from intel_m

Re: [Mesa-dev] [PATCH 0/4] More UBO fixes

2014-09-25 Thread Jordan Justen
Reviewed-by: Jordan Justen On Wed, Sep 10, 2014 at 3:37 PM, Ian Romanick wrote: > This series fixes some of the bugs that I have recently found via my UBO > test generator. These are basically all cases where lower_ubo_reference > and the linker disagree about the layout of the UBO (and the lin

Re: [Mesa-dev] [PATCH 0/4] More UBO fixes

2014-09-25 Thread Ian Romanick
On 09/10/2014 03:37 PM, Ian Romanick wrote: > This series fixes some of the bugs that I have recently found via my UBO > test generator. These are basically all cases where lower_ubo_reference > and the linker disagree about the layout of the UBO (and the linker was > correct). > > No regressions

Re: [Mesa-dev] [PATCH 1/5] i965/fs: Extend predicated break pass to predicate WHILE.

2014-09-25 Thread Matt Turner
On Thu, Sep 25, 2014 at 8:25 AM, Ian Romanick wrote: > How did you test this? Do we have piglit execution tests that actually > hit this path? I'm assuming you didn't play Serious Sam 3 looking for > rendering errors. ;) I wrote the patch and initially missed the necessary predicate_inverse bit

Re: [Mesa-dev] [PATCH 1/5] i965/fs: Extend predicated break pass to predicate WHILE.

2014-09-25 Thread Ian Romanick
How did you test this? Do we have piglit execution tests that actually hit this path? I'm assuming you didn't play Serious Sam 3 looking for rendering errors. ;) On 09/08/2014 12:21 PM, Matt Turner wrote: > Helps a handful of programs in Serious Sam 3 that use do-while loops. > > instructions i

Re: [Mesa-dev] [PATCH] glsl: improve accuracy of atan()

2014-09-25 Thread Erik Faye-Lund
On Thu, Sep 25, 2014 at 4:54 PM, Erik Faye-Lund wrote: > On Wed, Sep 24, 2014 at 1:35 PM, Erik Faye-Lund wrote: >> Hm. Don't I need to expand this last immediate to a vector of >> type->components() size as well? >> >> If so, this patch should go on top: >> >> diff --git a/src/glsl/builtin_functi

Re: [Mesa-dev] [PATCH] glsl: improve accuracy of atan()

2014-09-25 Thread Erik Faye-Lund
On Wed, Sep 24, 2014 at 1:35 PM, Erik Faye-Lund wrote: > Hm. Don't I need to expand this last immediate to a vector of > type->components() size as well? > > If so, this patch should go on top: > > diff --git a/src/glsl/builtin_functions.cpp b/src/glsl/builtin_functions.cpp > index 1820dd5..bfa46e

Re: [Mesa-dev] [PATCH 2/6] st/va: skeleton VAAPI state tracker

2014-09-25 Thread Liu, Leo
Hi Gwenole and Emil, > +gallium_drv_video_la_LIBADD = \ > + $(top_builddir)/src/gallium/state_trackers/va/libvatracker.la \ > + $(top_builddir)/src/gallium/auxiliary/libgallium.la \ > + $(top_builddir)/src/util/libmesautil.la \ > + $(LIBVA_LIBS) \ Unless I've misse

Re: [Mesa-dev] [PATCH 6/6] st/va: implement vlVa(Query|Create|Get|Put|Destroy)Image

2014-09-25 Thread Liu, Leo
Hi Emil, Sorry for that. Get incorrect after some rebase for patch 2 context.c + ctx->max_image_formats = 1; That should be "4" Thanks, Leo >-Original Message- >From: Emil Velikov [mailto:emil.l.veli...@gmail.com] >Sent: Thursday, September 25, 2014 8:29 AM >To: Liu, Leo; mesa-dev@

Re: [Mesa-dev] [PATCH 2/6] st/va: skeleton VAAPI state tracker

2014-09-25 Thread Christian König
Now let see how well it works with nouveau :P I fear not at all, cause nouveau never supported chunked decoding. Regards, Christian. Am 25.09.2014 um 12:21 schrieb Emil Velikov: Hi Leo, On 24/09/14 16:24, Liu, Leo wrote: Hi Emil, -Original Message- From: Emil Velikov [mailto:emil.l

Re: [Mesa-dev] [PATCH 6/6] st/va: implement vlVa(Query|Create|Get|Put|Destroy)Image

2014-09-25 Thread Emil Velikov
Hi Leo, On 23/09/14 17:44, Leo Liu wrote: > This patch implements functions for images support, > which basically supports copy data between video > surface and user buffers, in this case supports > SW decode, and other video output > You've increased the image formats to 4, yet the driver report

Re: [Mesa-dev] [PATCH] st/mesa: Use PIPE_USAGE_STAGING for GL_STATIC/DYNAMIC/STREAM_READ buffers

2014-09-25 Thread Marek Olšák
Looks good. Reviewed-by: Marek Olšák Marek On Thu, Sep 25, 2014 at 8:31 AM, Michel Dänzer wrote: > From: Michel Dänzer > > Such buffers can only be useful by reading from them with the CPU, so we > need to make sure CPU reads are fast. > > Signed-off-by: Michel Dänzer > --- > src/mesa/state

Re: [Mesa-dev] [PATCH 6/6] st/va: implement vlVa(Query|Create|Get|Put|Destroy)Image

2014-09-25 Thread Gwenole Beauchesne
Hi, 2014-09-23 18:44 GMT+02:00 Leo Liu : > This patch implements functions for images support, > which basically supports copy data between video > surface and user buffers, in this case supports > SW decode, and other video output My quick comments on this: - Be careful of allocations of chroma

Re: [Mesa-dev] [PATCH 2/6] st/va: skeleton VAAPI state tracker

2014-09-25 Thread Gwenole Beauchesne
2014-09-25 12:21 GMT+02:00 Emil Velikov : > Hi Leo, > On 24/09/14 16:24, Liu, Leo wrote: >> Hi Emil, >> >> >>> -Original Message- >>> From: Emil Velikov [mailto:emil.l.veli...@gmail.com] >>> Sent: Tuesday, September 23, 2014 3:49 PM >>> To: Liu, Leo; mesa-dev@lists.freedesktop.org >>> Cc: e

Re: [Mesa-dev] [PATCH 2/6] st/va: skeleton VAAPI state tracker

2014-09-25 Thread Gwenole Beauchesne
Hi, 2014-09-23 18:44 GMT+02:00 Leo Liu : > From: Christian König > > This patch adds a skeleton VA-API state tracker, > which is filled with live in the subsequent patches. > > Signed-off-by: Christian König > Signed-off-by: Leo Liu > --- > configure.ac | 35

[Mesa-dev] [Bug 84186] X 1.16.1 RC 1 segfaults and reports "XXX fail to create fbo" with Radeon HD 7970.

2014-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84186 --- Comment #5 from John Steele Scott --- Created attachment 106844 --> https://bugs.freedesktop.org/attachment.cgi?id=106844&action=edit X server output with EGL_LOG_LEVEL=debug and -verbose 20 I'm attaching the output of root@kano:/home/too

Re: [Mesa-dev] [PATCH 2/6] st/va: skeleton VAAPI state tracker

2014-09-25 Thread Emil Velikov
Hi Leo, On 24/09/14 16:24, Liu, Leo wrote: > Hi Emil, > > >> -Original Message- >> From: Emil Velikov [mailto:emil.l.veli...@gmail.com] >> Sent: Tuesday, September 23, 2014 3:49 PM >> To: Liu, Leo; mesa-dev@lists.freedesktop.org >> Cc: emil.l.veli...@gmail.com; Koenig, Christian >> Subjec

[Mesa-dev] [Bug 84186] X 1.16.1 RC 1 segfaults and reports "XXX fail to create fbo" with Radeon HD 7970.

2014-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84186 --- Comment #4 from John Steele Scott --- (In reply to comment #3) > The question is why the FBO creation fails. Reassigning to Mesa core for now. > > Can you attach the stderr output from running Xorg with the environment > variable EGL_LOG_LEV

[Mesa-dev] [PATCH] gm107/ir: fix texture argument order

2014-09-25 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin Cc: "10.3" --- With this, all the tex-miplevel-selection tests pass on maxwell. There is a minor bit of this change which affects textureGrad on kepler that I have yet to test, but I'm moderately sure it's correct and was only working by luck before. (Changing the insb

Re: [Mesa-dev] [PATCH v2] replace file specific compiler optimization withinline attibute

2014-09-25 Thread Marc Dietrich
Am Mittwoch, 24. September 2014, 18:35:24 schrieb Matt Turner: > On Wed, Sep 24, 2014 at 6:25 AM, Marc Dietrich wrote: > > Am Montag, 22. September 2014, 11:48:29 schrieb Matt Turner: > >> We need a configure check for support for __attribute__((target)). I'm > >> going to send a series that adds