Re: [Mesa-dev] [PATCH 2/2] draw/gs: Correctly iterate the emitted primitives

2013-03-08 Thread Jose Fonseca
- Original Message - > We were assuming that each emitted primitive had the same > number of vertices. That is incorrect. Emitted primitives > can have arbirtrary number of vertices. Simply increment > index on iteration to fix it. > > Signed-off-by: Zack Rusin > --- > src/gallium/auxili

[Mesa-dev] [Bug 62027] New: [build error] No such file or directory

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62027 Priority: medium Bug ID: 62027 Assignee: mesa-dev@lists.freedesktop.org Summary: [build error] No such file or directory Severity: normal Classification: Unclassified OS: Lin

Re: [Mesa-dev] glxgears is faster but 3D render is so slow

2013-03-08 Thread Brian Paul
On 03/07/2013 04:55 PM, jupiter wrote: Hi Brian, I finally built Mesa with configuration "--enable-xlib-glx --disable-dri --enable-gallium-llvm --with-llvm-shared-libs", with dependencies of llvm and drm. It does not work either, please see following glxinfo. Please let me know if my configurati

[Mesa-dev] [Bug 62027] [build error] ln: accessing `.libs/libdricore9.0.3.so.1.0.0': No such file or directory

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62027 aret...@gmail.com changed: What|Removed |Added Summary|[build error] No such file |[build error] ln: accessing

[Mesa-dev] [Bug 62027] [build error] ln: accessing `.libs/libdricore9.0.3.so.1.0.0': No such file or directory

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62027 aret...@gmail.com changed: What|Removed |Added CC||aret...@gmail.com -- You are receivi

[Mesa-dev] [PATCH] libclc: Fix libclc build for LLVM 3.3

2013-03-08 Thread Aaron Watry
LLVM moved a bunch of IR-related headers for version 3.3. This fixes the libclc build to follow suit. --- utils/prepare-builtins.cpp | 12 1 file changed, 12 insertions(+) diff --git a/utils/prepare-builtins.cpp b/utils/prepare-builtins.cpp index ae7731b..0141484 100644 --- a/uti

Re: [Mesa-dev] [PATCH] libclc: Fix libclc build for LLVM 3.3

2013-03-08 Thread Tom Stellard
On Fri, Mar 08, 2013 at 09:11:48AM -0600, Aaron Watry wrote: > LLVM moved a bunch of IR-related headers for version 3.3. > > This fixes the libclc build to follow suit. > A fix for this has been sitting on the libclc mailing list for a weeks. I will try to update my branch. -Tom > --- > utils

Re: [Mesa-dev] [PATCH] mesa: Fix FB blitting in case of zero size src or dst rect

2013-03-08 Thread Paul Berry
On 7 March 2013 14:15, Anuj Phogat wrote: > Framebuffer blitting operation should be skipped if any of the > dimensions (width/height) of src/dst rect are zero. > > Fixes: fbblit(negative.nullblit.zeroSize) in Intel oglconform > https://bugs.freedesktop.org/show_bug.cgi?id=59495 > > Note: Candida

Re: [Mesa-dev] [PATCH] glapi/gen: Remove duplicate PYTHON_FLAGS

2013-03-08 Thread Stefan Brüns
Hi everyone, any reason this is not yet applied? Regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen phone: +49 241 53809034 mobile: +49 151 50412019 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.

Re: [Mesa-dev] [PATCH] mesa: Fix FB blitting in case of zero size src or dst rect

2013-03-08 Thread Anuj Phogat
On Fri, Mar 8, 2013 at 8:02 AM, Paul Berry wrote: > On 7 March 2013 14:15, Anuj Phogat wrote: >> >> Framebuffer blitting operation should be skipped if any of the >> dimensions (width/height) of src/dst rect are zero. >> >> Fixes: fbblit(negative.nullblit.zeroSize) in Intel oglconform >> https://

[Mesa-dev] [PATCH V2] mesa: Fix FB blitting in case of zero size src or dst rect

2013-03-08 Thread Anuj Phogat
Framebuffer blitting operation should be skipped if any of the dimensions (width/height) of src/dst rect is zero. V2: Move the dimension check after error checking in _mesa_BlitFramebuffer. Fixes: fbblit(negative.nullblit.zeroSize) in Intel oglconform https://bugs.freedesktop.org/show_bug.cgi?id=

[Mesa-dev] [PATCH] R600: Fix JUMP handling so that MachineInstr verification can occur

2013-03-08 Thread Vincent Lejeune
This allows R600 Target to use the newly created -verify-misched llc flag --- lib/Target/R600/AMDILCFGStructurizer.cpp| 8 +- lib/Target/R600/R600ISelLowering.cpp| 7 +- lib/Target/R600/R600InstrInfo.cpp | 66 ++-- lib/Target/R600/R600Instructions.td

[Mesa-dev] [Bug 61821] src/mesa/drivers/dri/common/xmlpool.h:96:29: fatal error: xmlpool/options.h

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61821 --- Comment #3 from LoneVVolf --- same bug with this configure command : ./autogen.sh --prefix=/usr \ --sysconfdir=/etc \ --with-dri-driverdir=/usr/lib/xorg/modules/dri \ --with-gallium-drivers=r300,r600,radeonsi,swrast \ --wit

[Mesa-dev] [PATCH 1/3] tgsi: fix wrong reg used for unit for TGSI_OPCODE_TXF

2013-03-08 Thread sroland
From: Roland Scheidegger --- src/gallium/auxiliary/tgsi/tgsi_exec.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index 6a74ef3..9945d42 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec

[Mesa-dev] [PATCH 2/3] tgsi: emit code for SVIEWINFO and SAMPLE_I

2013-03-08 Thread sroland
From: Roland Scheidegger Can handle them since the single sampler interface was introduced. --- src/gallium/auxiliary/tgsi/tgsi_exec.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tg

Re: [Mesa-dev] [PATCH 2/3] tgsi: emit code for SVIEWINFO and SAMPLE_I

2013-03-08 Thread Jose Fonseca
Patches 1-2 look good to me. Still going through patch 3. Jose - Original Message - > From: Roland Scheidegger > > Can handle them since the single sampler interface was introduced. > --- > src/gallium/auxiliary/tgsi/tgsi_exec.c | 18 +- > 1 file changed, 13 insertion

Re: [Mesa-dev] [PATCH 3/3] softpipe: don't use samplers with prebaked sampler and sampler_view state

2013-03-08 Thread Jose Fonseca
- Original Message - > From: Roland Scheidegger > > This is needed for handling the dx10-style sample opcodes. > This also simplifies the logic by getting rid of sampler variants > completely (sampler_views though OTOH have sort of variants because > some of their state is different depen

Re: [Mesa-dev] [PATCH 2/3] tgsi: emit code for SVIEWINFO and SAMPLE_I

2013-03-08 Thread Brian Paul
On 03/08/2013 12:18 PM, srol...@vmware.com wrote: From: Roland Scheidegger Can handle them since the single sampler interface was introduced. --- src/gallium/auxiliary/tgsi/tgsi_exec.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/gallium/auxili

[Mesa-dev] [PATCH] wayland: fix segfault when using software rendering

2013-03-08 Thread Philipp Brüschweiler
wayland_roundtrip() was given an incorrect parameter. --- src/gallium/state_trackers/egl/wayland/native_shm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/egl/wayland/native_shm.c b/src/gallium/state_trackers/egl/wayland/native_shm.c index a959237

Re: [Mesa-dev] [PATCH 3/3] softpipe: don't use samplers with prebaked sampler and sampler_view state

2013-03-08 Thread Roland Scheidegger
Am 08.03.2013 21:03, schrieb Jose Fonseca: > - Original Message - >> From: Roland Scheidegger >> >> This is needed for handling the dx10-style sample opcodes. >> This also simplifies the logic by getting rid of sampler variants >> completely (sampler_views though OTOH have sort of variants

[Mesa-dev] glapi/gen: Create optimized glX opcode dispatch tree

2013-03-08 Thread Stefan Bruens
The current code omits some possibilities to optimize the tree, leading to a large tree with way to many steps until the leaf is reached. The new code optimizes the tree based on a simple observation: as long as at most half of the nodes at the current level are leaves, tree size is reduced or unc

[Mesa-dev] [PATCH v2 2/2] configure.ac: Build dricommon when dri is enabled

2013-03-08 Thread Matt Turner
Commit 67ef7559 added an || test "x$enable_dri" check in an attempt to get the DRI common bits built in some necessary cases. That change was inappropriate as it made these common DRI pieces be built unconditionally, so some builds were broken. Subsequently, commit 998d975e3 change the "|| test" t

Re: [Mesa-dev] [PATCH 2/3] tgsi: emit code for SVIEWINFO and SAMPLE_I

2013-03-08 Thread Roland Scheidegger
Am 08.03.2013 21:11, schrieb Brian Paul: > On 03/08/2013 12:18 PM, srol...@vmware.com wrote: >> From: Roland Scheidegger >> >> Can handle them since the single sampler interface was introduced. >> --- >> src/gallium/auxiliary/tgsi/tgsi_exec.c | 18 +- >> 1 file changed, 13 inse

[Mesa-dev] [PATCH 1/2] gallium: PIPE_COMPUTE_CAP_IR_TARGET - allow drivers to specify a processor

2013-03-08 Thread Tom Stellard
From: Tom Stellard This target string now contains four values instead of three. The old processor field (which was really being interpreted as arch) has been split into two fields: processor and arch. This allows drivers to pass a more a more detailed description of the hardware to compiler fr

[Mesa-dev] [PATCH 2/2] radeonsi: Add compute support

2013-03-08 Thread Tom Stellard
From: Tom Stellard --- This patch depends on the series I posted yesterday that moves llvm_wrapper.cpp into the radeon directory and re-implements it using the C API. It also requires the patches on the llvm-commits list that add support for buffer stores. src/gallium/drivers/radeon/radeon_ll

Re: [Mesa-dev] glxgears is faster but 3D render is so slow

2013-03-08 Thread jupiter
Hi Brian, > Make sure you're using the libGL.so found in mesa/lib/gallium/ There is no gallium in my mesalib/lib. What could be wrong here? $ ls -l total 42620 -rwxr-xr-x 1 root root 1196 Mar 8 10:47 libEGL.la lrwxrwxrwx 1 root root 15 Mar 8 10:49 libEGL.so -> libEGL.so.1.0.0 lrwxrwx

Re: [Mesa-dev] [PATCH 3/3] softpipe: don't use samplers with prebaked sampler and sampler_view state

2013-03-08 Thread Jose Fonseca
- Original Message - > Am 08.03.2013 21:03, schrieb Jose Fonseca: > > - Original Message - > >> From: Roland Scheidegger > >> > >> This is needed for handling the dx10-style sample opcodes. > >> This also simplifies the logic by getting rid of sampler variants > >> completely (sa

[Mesa-dev] [Bug 61821] src/mesa/drivers/dri/common/xmlpool.h:96:29: fatal error: xmlpool/options.h

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61821 Matt Turner changed: What|Removed |Added URL|http://lists.freedesktop.or |http://lists.freedesktop.or

[Mesa-dev] [Bug 58718] Crash in src_register() during glClear() call

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58718 --- Comment #4 from José Fonseca --- Created attachment 76199 --> https://bugs.freedesktop.org/attachment.cgi?id=76199&action=edit framebuffer2.trace The attached trace allows me reproduce the issue with a release/profile MSVC build of mesa.

[Mesa-dev] [PATCH] mesa: Allow ETC2/EAC formats with ARB_ES3_compatibility.

2013-03-08 Thread Matt Turner
Fixes piglit's oes_compressed_etc2_texture-miptree tests on Desktop GL. Reported-by: Marek Olšák --- src/mesa/main/glformats.c |2 +- src/mesa/main/teximage.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index

Re: [Mesa-dev] [PATCH] mesa: Allow ETC2/EAC formats with ARB_ES3_compatibility.

2013-03-08 Thread Anuj Phogat
On Fri, Mar 8, 2013 at 3:01 PM, Matt Turner wrote: > Fixes piglit's oes_compressed_etc2_texture-miptree tests on Desktop GL. > Reported-by: Marek Olšák > --- > src/mesa/main/glformats.c |2 +- > src/mesa/main/teximage.c |2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff

Re: [Mesa-dev] glxgears is faster but 3D render is so slow

2013-03-08 Thread Brian Paul
On 03/08/2013 02:22 PM, jupiter wrote: Hi Brian, Make sure you're using the libGL.so found in mesa/lib/gallium/ There is no gallium in my mesalib/lib. What could be wrong here? Hmm, not sure. Did you do 'make clean' before you configured Mesa? Maybe post your config.log file. -Brian

[Mesa-dev] [Bug 61919] make fails without C_INCLUDE_PATH: xlib_sw_winsys.c:49:33: fatal error: X11/extensions/XShm.h: No such file or directory

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61919 --- Comment #1 from Knut Petersen --- I also bisected the build failure with the same result. The problem is that with 35189d768bf80fdedbb6e70f49215cc8b734f343 old X11 header files from /usr/include/X11 are used, correct would be /home/knut/fast

[Mesa-dev] [Bug 61919] make fails without C_INCLUDE_PATH: xlib_sw_winsys.c:49:33: fatal error: X11/extensions/XShm.h: No such file or directory

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61919 Knut Petersen changed: What|Removed |Added CC||matts...@gmail.com -- You are receiving

Re: [Mesa-dev] Mesa 9.1.1 picks

2013-03-08 Thread Knut Petersen
On 06.03.2013 00:26, Ian Romanick wrote: I've just cherry-picked almost everything from master that was marked. I had to modify the get-pick-list script to catch a couple commits that had ill-formed notes. I didn't pick this commit because there were conflicts, and I was lazy. :) c77917d35fdf

[Mesa-dev] [Bug 61919] make fails without C_INCLUDE_PATH: xlib_sw_winsys.c:49:33: fatal error: X11/extensions/XShm.h: No such file or directory

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61919 --- Comment #2 from Matt Turner --- Created attachment 76201 --> https://bugs.freedesktop.org/attachment.cgi?id=76201&action=edit patch Try this? -- You are receiving this mail because: You are the assignee for the bug. _

[Mesa-dev] [Bug 61919] make fails without C_INCLUDE_PATH: xlib_sw_winsys.c:49:33: fatal error: X11/extensions/XShm.h: No such file or directory

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61919 Matt Turner changed: What|Removed |Added Attachment #76201|0 |1 is obsolete|

Re: [Mesa-dev] glxgears is faster but 3D render is so slow

2013-03-08 Thread Knut Petersen
On 09.03.2013 01:06, Brian Paul wrote: On 03/08/2013 02:22 PM, jupiter wrote: Hi Brian, Make sure you're using the libGL.so found in mesa/lib/gallium/ There is no gallium in my mesalib/lib. What could be wrong here? Hmm, not sure. Did you do 'make clean' before you configured Mesa? 'mak

[Mesa-dev] [PATCH] gallivm: clean up passing derivatives around

2013-03-08 Thread sroland
From: Roland Scheidegger Previously, the derivatives were calculated and passed in a packed form to the sample code (for implicit derivatives, explicit derivatives were packed to the same format). There's several reasons why this wasn't such a good idea: 1) the derivatives may not even be needed

[Mesa-dev] [Bug 62042] New: X11 mouse cursor alpha blending on OpenGL application broken

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62042 Priority: medium Bug ID: 62042 Assignee: mesa-dev@lists.freedesktop.org Summary: X11 mouse cursor alpha blending on OpenGL application broken Severity: normal Classificat

[Mesa-dev] [Bug 62042] X11 mouse cursor alpha blending on OpenGL application broken

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62042 --- Comment #1 from Steven Noonan --- Created attachment 76204 --> https://bugs.freedesktop.org/attachment.cgi?id=76204&action=edit Radeon HD 6850 demonstrating the issue -- You are receiving this mail because: You are the assignee for the bu

[Mesa-dev] [Bug 62042] X11 mouse cursor alpha blending on OpenGL application broken

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62042 --- Comment #2 from Steven Noonan --- Created attachment 76205 --> https://bugs.freedesktop.org/attachment.cgi?id=76205&action=edit Expected rendering -- You are receiving this mail because: You are the assignee for the bug. _

[Mesa-dev] [Bug 62042] X11 mouse cursor alpha blending on OpenGL application broken

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62042 Steven Noonan changed: What|Removed |Added Attachment #76203|0 |1 is obsolete|

Re: [Mesa-dev] Mesa 9.1.1 picks

2013-03-08 Thread Ian Romanick
On 03/08/2013 04:21 PM, Knut Petersen wrote: On 06.03.2013 00:26, Ian Romanick wrote: I've just cherry-picked almost everything from master that was marked. I had to modify the get-pick-list script to catch a couple commits that had ill-formed notes. I didn't pick this commit because there were

[Mesa-dev] [PATCH] st/mesa: bound the sampler count before calling into the driver.

2013-03-08 Thread Stéphane Marchesin
With the current code, the sampler count can become higher than PIPE_MAX_SAMPLERS and once it gets to the driver this can lead to miscellaneous crashes and memory corruptions. Although this is taken care of in debug mode with an assert, there is still a way to cause a crash/overflow in release mod

Re: [Mesa-dev] [PATCH] glapi/gen: Remove duplicate PYTHON_FLAGS

2013-03-08 Thread Matt Turner
On Fri, Mar 8, 2013 at 8:32 AM, Stefan Brüns wrote: > any reason this is not yet applied? Because the patch is corrupted (looks like the mail client line wrapped it). A convenient way to send is git send-email, which always gets it right. ___ mesa-dev m

Re: [Mesa-dev] glxgears is faster but 3D render is so slow

2013-03-08 Thread jupiter
Hi Brian, Sorry I spoke too earlier. I have double checked, there was a gallium in build directory, but when I ran "make install" the system seems copied the gallium/libGL.so.1.5.0 to the installation directory mesa/lib//libGL.so.1.5.0, and the symblic link libGL.so -> libGL.so.1.5.0. I think it

Re: [Mesa-dev] [PATCH v2 2/2] configure.ac: Build dricommon when dri is enabled

2013-03-08 Thread Stéphane Marchesin
On Fri, Mar 8, 2013 at 12:58 PM, Matt Turner wrote: > Commit 67ef7559 added an || test "x$enable_dri" check in an attempt to > get the DRI common bits built in some necessary cases. That change was > inappropriate as it made these common DRI pieces be built > unconditionally, so some builds were b

[Mesa-dev] [Bug 62046] Power Point Viewer crashed at start

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62046 Nick222 changed: What|Removed |Added CC||nick...@yandex.ru -- You are receiving this m

[Mesa-dev] [Bug 62046] New: Power Point Viewer crashed at start

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62046 Priority: medium Bug ID: 62046 Assignee: mesa-dev@lists.freedesktop.org Summary: Power Point Viewer crashed at start Severity: normal Classification: Unclassified OS: Linux (

[Mesa-dev] [Bug 61821] src/mesa/drivers/dri/common/xmlpool.h:96:29: fatal error: xmlpool/options.h

2013-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61821 Matt Turner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---