Re: [Mesa-dev] [PATCH 1/3] r300g: handle PIPE_BIND_BLENDABLE

2014-08-25 Thread Michel Dänzer
On 23.08.2014 21:55, Marek Olšák wrote: From: Marek Olšák marek.ol...@amd.com This series is Reviewed-by: Michel Dänzer michel.daen...@amd.com -- Earthling Michel Dänzer| http://www.amd.com Libre software enthusiast |Mesa and X developer

[Mesa-dev] [Bug 79629] [Dri3 bisected] piglit glx_GLX_ARB_create_context_current_with_no_framebuffer fail

2014-08-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79629 --- Comment #8 from fangxun xunx.f...@intel.com --- (In reply to comment #7) DRI3 is still being developed/stabilized and its interaction with fences poorly specified. Mesa does not yet utilize the explicit fences implied in the spec.

Re: [Mesa-dev] [PATCH] r600/compute: Don't leak compute pool item_list/unallocated_list

2014-08-25 Thread Michel Dänzer
On 22.08.2014 04:37, Aaron Watry wrote: v2: Change to C-style comments and fix indentation Signed-off-by: Aaron Watry awa...@gmail.com --- src/gallium/drivers/r600/compute_memory_pool.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/gallium/drivers/r600/compute_memory_pool.c

Re: [Mesa-dev] [PATCH] radeonsi: set DB_DEPTH_SIZE.HEIGHT_TILE_MAX, inline other fields

2014-08-25 Thread Michel Dänzer
On 22.08.2014 00:51, Marek Olšák wrote: From: Marek Olšák marek.ol...@amd.com This fixes rendering to a non-zero layer/face/slice with HTILE. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72685 [...] @@ -1782,12 +1783,6 @@ static void si_init_depth_surface(struct si_context

[Mesa-dev] Recommended version of Mesa for Windows

2014-08-25 Thread Jason Anderssen
Hi All, Just a simple question, what would you recommend the best version of Mesa for a windows application, currently we are using 7.5, is there any huge benefit to move to a later version? Cheers and thanx in advance. Jason Internet Email Confidentiality Footer: This email and any files

Re: [Mesa-dev] [PATCH 1/7] r600g: set DB_DEPTH_SIZE.HEIGHT_TILE_MAX for EG/CM, inline other fields

2014-08-25 Thread Michel Dänzer
On 22.08.2014 00:52, Marek Olšák wrote: From: Marek Olšák marek.ol...@amd.com This fixes rendering to non-zero layer/face/slice with HTILE. Same comments as for the corresponding radeonsi patch. The rest of this series gets Acked-by: Michel Dänzer michel.daen...@amd.com -- Earthling

[Mesa-dev] [PATCH] r600g: Implement sm5 geometry shader instancing

2014-08-25 Thread Glenn Kennard
Requires Evergreen or later hardware. Signed-off-by: Glenn Kennard glenn.kenn...@gmail.com --- docs/GL3.txt | 2 +- src/gallium/drivers/r600/evergreen_state.c | 4 ++-- src/gallium/drivers/r600/r600_shader.c | 11 +++

Re: [Mesa-dev] [PATCH] radeonsi: set DB_DEPTH_SIZE.HEIGHT_TILE_MAX, inline other fields

2014-08-25 Thread Marek Olšák
On Mon, Aug 25, 2014 at 9:15 AM, Michel Dänzer mic...@daenzer.net wrote: On 22.08.2014 00:51, Marek Olšák wrote: From: Marek Olšák marek.ol...@amd.com This fixes rendering to a non-zero layer/face/slice with HTILE. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72685 [...] @@

Re: [Mesa-dev] [PATCH] Fix surf-bankh init by default value when surf-tile_split == 0

2014-08-25 Thread Marek Olšák
Pushed, thanks. Marek On Mon, Aug 18, 2014 at 9:59 PM, Maks Naumov maksq...@ukr.net wrote: Signed-off-by: Maks Naumov maksq...@ukr.net --- radeon/radeon_surface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c

Re: [Mesa-dev] [PATCH 3/3] rbug-gui: add a spin button to select the layer index to display

2014-08-25 Thread Jakob Bornecrantz
On Sun, Aug 24, 2014 at 2:16 PM, Marek Olšák mar...@gmail.com wrote: From: Marek Olšák marek.ol...@amd.com --- res/main.xml | 144 +- src/main.c| 9 +++- src/program.h | 4 +- src/texture.c | 17 +-- 4 files changed,

[Mesa-dev] [Bug 82978] [swrast] piglit glsl-uniform-initializer-6 regression

2014-08-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=82978 Tapani Pälli lem...@gmail.com changed: What|Removed |Added Status|NEW |ASSIGNED

[Mesa-dev] [PATCH] swrast: Use integer value 1 for true

2014-08-25 Thread Tapani Pälli
commit 4e64cfbb4 changed how gl_constant_value bool gets interpreted with drivers, for swrast driver true should be 1. Signed-off-by: Tapani Pälli tapani.pa...@intel.com Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82978 --- src/mesa/drivers/dri/swrast/swrast.c | 3 +++ 1 file changed,

[Mesa-dev] Build mesa for Intel platform

2014-08-25 Thread Victor Rodriguez
HI I am new in Mesa. I am trying to compile mesa in a x86 system. After installing all the required packages and ussing the following configure command line: ./configure --with-dri-drivers=i915 --with-gallium-drivers= make shows this error: loader.c:495:24: fatal error: radeon_drm.h: No such

Re: [Mesa-dev] Build mesa for Intel platform

2014-08-25 Thread Emil Velikov
On 25/08/14 14:26, Victor Rodriguez wrote: HI Hello there I am new in Mesa. I am trying to compile mesa in a x86 system. After installing all the required packages and ussing the following configure command line: ./configure --with-dri-drivers=i915 --with-gallium-drivers= make

Re: [Mesa-dev] The GL3.txt format

2014-08-25 Thread Roland Scheidegger
Am 25.08.2014 07:56, schrieb Kenneth Graunke: On Monday, August 25, 2014 12:05:07 AM Romain Failliot wrote: Some folks helped me and a lot of detection bug have been fixed! I have a question though (for my own culture): what's with the swrast, the softpipe and the llvmpipe? Aren't they all

Re: [Mesa-dev] The GL3.txt format

2014-08-25 Thread steve
On Mon Aug 25 2014 05:05:07 GMT+0100 (BST), Romain Failliot wrote: Some folks helped me and a lot of detection bug have been fixed! I have a question though (for my own culture): what's with the swrast, the softpipe and the llvmpipe? Aren't they all software drivers? What's the difference

Re: [Mesa-dev] [PATCH] r600/compute: Don't leak compute pool item_list/unallocated_list

2014-08-25 Thread Aaron Watry
On Sat, Aug 23, 2014 at 10:01 AM, Bruno Jimenez brunoji...@gmail.com wrote: On Thu, 2014-08-21 at 14:37 -0500, Aaron Watry wrote: v2: Change to C-style comments and fix indentation Signed-off-by: Aaron Watry awa...@gmail.com --- src/gallium/drivers/r600/compute_memory_pool.c | 5 + 1

Re: [Mesa-dev] The GL3.txt format

2014-08-25 Thread Romain Failliot
Could it be possible to add these drivers in the lists instead of me adding some more exceptions in my code? (I ask that mainly because I might have bug reports saying that softpipe is green but it's never mentioned in the original file) 2014-08-25 10:28 GMT-04:00 Roland Scheidegger

Re: [Mesa-dev] [PATCH 3/3] rbug-gui: add a spin button to select the layer index to display

2014-08-25 Thread Marek Olšák
On Mon, Aug 25, 2014 at 1:21 PM, Jakob Bornecrantz wallbra...@gmail.com wrote: On Sun, Aug 24, 2014 at 2:16 PM, Marek Olšák mar...@gmail.com wrote: From: Marek Olšák marek.ol...@amd.com --- res/main.xml | 144 +- src/main.c| 9

Re: [Mesa-dev] [PATCH] glsl_to_tgsi: allocate and enlarge arrays for temporaries on demand

2014-08-25 Thread Roland Scheidegger
Am 24.08.2014 23:51, schrieb Marek Olšák: On Sun, Aug 24, 2014 at 6:15 PM, Ilia Mirkin imir...@alum.mit.edu wrote: On Sun, Aug 24, 2014 at 7:44 AM, Marek Olšák mar...@gmail.com wrote: From: Marek Olšák marek.ol...@amd.com This fixes crashes if the number of temporaries is greater than 4096.

Re: [Mesa-dev] The GL3.txt format

2014-08-25 Thread Roland Scheidegger
Yeah I guess so. I think we were lazy updating GL3.txt for these drivers, I'll whip up a patch. Roland Am 25.08.2014 16:41, schrieb Romain Failliot: Could it be possible to add these drivers in the lists instead of me adding some more exceptions in my code? (I ask that mainly because I

Re: [Mesa-dev] [PATCH] r600/compute: Don't leak compute pool item_list/unallocated_list

2014-08-25 Thread Jan Vesely
On Sat, 2014-08-23 at 17:01 +0200, Bruno Jimenez wrote: On Thu, 2014-08-21 at 14:37 -0500, Aaron Watry wrote: v2: Change to C-style comments and fix indentation Signed-off-by: Aaron Watry awa...@gmail.com --- src/gallium/drivers/r600/compute_memory_pool.c | 5 + 1 file changed,

Re: [Mesa-dev] [PATCH] swrast: Use integer value 1 for true

2014-08-25 Thread Eric Anholt
Tapani Pälli tapani.pa...@intel.com writes: commit 4e64cfbb4 changed how gl_constant_value bool gets interpreted with drivers, for swrast driver true should be 1. Signed-off-by: Tapani Pälli tapani.pa...@intel.com Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82978 Everywhere else

Re: [Mesa-dev] Build mesa for Intel platform

2014-08-25 Thread Victor Rodriguez
Thanks a lot that was the problem . You made my day :) On Mon, Aug 25, 2014 at 8:41 AM, Emil Velikov emil.l.veli...@gmail.com wrote: On 25/08/14 14:26, Victor Rodriguez wrote: HI Hello there I am new in Mesa. I am trying to compile mesa in a x86 system. After installing all the

Re: [Mesa-dev] The GL3.txt format

2014-08-25 Thread Marek Olšák
Also I think some features that were added to soft/llvmpipe were marked as swrast in GL3.txt. Marek On Mon, Aug 25, 2014 at 5:41 PM, Roland Scheidegger srol...@vmware.com wrote: Yeah I guess so. I think we were lazy updating GL3.txt for these drivers, I'll whip up a patch. Roland Am

Re: [Mesa-dev] [PATCH] glsl: allow precision qualifier on sampler arrays

2014-08-25 Thread Anuj Phogat
On Fri, Aug 22, 2014 at 2:23 PM, Frank Henigman fjhenig...@google.com wrote: If a precision qualifer is allowed on type T, it should be allowed on an array of T. Refactor the check to ensure this is the case. --- I wanted to expand the comment to say why is_record() is in there, but I don't

[Mesa-dev] [PATCH] docs: fix up status of softpipe, llvmpipe

2014-08-25 Thread sroland
From: Roland Scheidegger srol...@vmware.com The docs were never really up to date for them, missing just about everything. So mark them off as all done for GL 3.3 (though softpipe is in fact quite broken for some newer things especially wrt texturing, and both don't have compliant, real msaa

[Mesa-dev] [PATCH] draw: fix base instance handling in llvm path

2014-08-25 Thread sroland
From: Roland Scheidegger srol...@vmware.com The base instance needs to be passed to the jited function, otherwise the instanced data fetch will only work with the same start instance when the jit function was created (and baking that into the key instead is not a viable option). This fixes piglit

Re: [Mesa-dev] [PATCH] r600/compute: Don't leak compute pool item_list/unallocated_list

2014-08-25 Thread Bruno Jimenez
On Mon, 2014-08-25 at 18:04 +0200, Jan Vesely wrote: On Sat, 2014-08-23 at 17:01 +0200, Bruno Jimenez wrote: On Thu, 2014-08-21 at 14:37 -0500, Aaron Watry wrote: v2: Change to C-style comments and fix indentation Signed-off-by: Aaron Watry awa...@gmail.com ---

Re: [Mesa-dev] [PATCH] r600/compute: Don't leak compute pool item_list/unallocated_list

2014-08-25 Thread Bruno Jimenez
On Mon, 2014-08-25 at 09:35 -0500, Aaron Watry wrote: On Sat, Aug 23, 2014 at 10:01 AM, Bruno Jimenez brunoji...@gmail.com wrote: On Thu, 2014-08-21 at 14:37 -0500, Aaron Watry wrote: v2: Change to C-style comments and fix indentation Signed-off-by: Aaron Watry awa...@gmail.com ---

[Mesa-dev] [Bug 69101] prime: black window

2014-08-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69101 Pali Rohár pali.ro...@gmail.com changed: What|Removed |Added CC||pali.ro...@gmail.com

[Mesa-dev] [Bug 69101] prime: black window

2014-08-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69101 --- Comment #26 from Jose P. lbdkm...@sharklasers.com --- I was asked to comment here. I'm using a dual AMD graphics system (radeon 6520g + 6750m), my OS is Kubuntu with the radeon driver and mesa 10.4-dev (10.4.0-devel git-eb4541e) and I don't

[Mesa-dev] GLUESv2. Useful?

2014-08-25 Thread Bruce Campbell
I have a need to port GLU to ES v2. Would it be interesting to others? I suspect folks have done this a number of times, but not shared. I'm setting it up to be built as an additional library via an --enable-gles2 flag in config. There would be a few (quades.c, meshes.c, etc) additional source

Re: [Mesa-dev] [PATCH] i965/gen8: Allow 16k viewport when blitting stencil

2014-08-25 Thread Ian Romanick
On 08/14/2014 09:09 AM, Topi Pohjolainen wrote: From: Topi Pohjolainen topi.pohjolai...@gmail.com Fixes gles3 conformance tests: framebuffer_blit_functionality_negative_height_blit framebuffer_blit_functionality_negative_width_blit framebuffer_blit_functionality_negative_dimensions_blit

Re: [Mesa-dev] [PATCH] glsl_to_tgsi: allocate and enlarge arrays for temporaries on demand

2014-08-25 Thread Ian Romanick
On 08/24/2014 02:51 PM, Marek Olšák wrote: On Sun, Aug 24, 2014 at 6:15 PM, Ilia Mirkin imir...@alum.mit.edu wrote: On Sun, Aug 24, 2014 at 7:44 AM, Marek Olšák mar...@gmail.com wrote: From: Marek Olšák marek.ol...@amd.com This fixes crashes if the number of temporaries is greater than 4096.

Re: [Mesa-dev] Build mesa for Intel platform

2014-08-25 Thread Ian Romanick
On 08/25/2014 06:26 AM, Victor Rodriguez wrote: HI I am new in Mesa. I am trying to compile mesa in a x86 system. After installing all the required packages and ussing the following configure command line: ./configure --with-dri-drivers=i915 --with-gallium-drivers= Unless you have a

Re: [Mesa-dev] [Mesa-announce] Mesa 10.3 release candidate 1

2014-08-25 Thread Thierry Vignaud
On 21 August 2014 17:54, Carl Worth cwo...@cworth.org wrote: I have verified building from the .tar.bz2 file by doing the following on a Debian (unstable) system: tar xjf MesaLib-10.3.0-rc1.tar.bz2 cd Mesa-10.3.0-rc1 ./configure --enable-gallium-llvm make -j6 make install Unlike previous

Re: [Mesa-dev] [Intel-gfx] [PATCH 00/68] Broadwell 48b addressing and prelocations (no relocs)

2014-08-25 Thread Jesse Barnes
On Fri, 22 Aug 2014 22:38:22 +0200 Daniel Vetter dan...@ffwll.ch wrote: On Fri, Aug 22, 2014 at 3:38 PM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Fri, Aug 22, 2014 at 03:30:12PM +0200, Daniel Vetter wrote: On Fri, Aug 22, 2014 at 9:03 AM, Chris Wilson ch...@chris-wilson.co.uk

Re: [Mesa-dev] [PATCH] glsl_to_tgsi: allocate and enlarge arrays for temporaries on demand

2014-08-25 Thread Roland Scheidegger
Am 26.08.2014 01:58, schrieb Ian Romanick: On 08/24/2014 02:51 PM, Marek Olšák wrote: On Sun, Aug 24, 2014 at 6:15 PM, Ilia Mirkin imir...@alum.mit.edu wrote: On Sun, Aug 24, 2014 at 7:44 AM, Marek Olšák mar...@gmail.com wrote: From: Marek Olšák marek.ol...@amd.com This fixes crashes if the

[Mesa-dev] [PATCH 2/4] i965/disasm: Add break/cont/halt to list of has_uip().

2014-08-25 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_disasm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 65c6f23..b73ada8 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++

[Mesa-dev] [PATCH 4/4] i965/disasm: Show jump count for if/iff/halt.

2014-08-25 Thread Matt Turner
These instructions don't have pop count. --- src/mesa/drivers/dri/i965/brw_disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 4374278..5a56591 100644 ---

[Mesa-dev] [PATCH 1/4] i965/disasm: Disassemble Z/NZ conditional modifiers as .z/.nz.

2014-08-25 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_disasm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 424b214..65c6f23 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++

[Mesa-dev] [PATCH 3/4] i965/disasm: Disassemble JMPI's source properly.

2014-08-25 Thread Matt Turner
The source can be a register as well as an immediate, and disassembling a register as an immediate can have some strange results. --- src/mesa/drivers/dri/i965/brw_disasm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c

Re: [Mesa-dev] [RFC PATCH 00/16] A new IR for Mesa

2014-08-25 Thread Rob Clark
On Wed, Aug 20, 2014 at 2:13 PM, Kenneth Graunke kenn...@whitecape.org wrote: we've already had problems where distros refused to ship newer Mesa releases because radeon depended on a version of LLVM newer than the one they were shipping, [...] That's news to me, can you be more specific?

Re: [Mesa-dev] [RFC PATCH 00/16] A new IR for Mesa

2014-08-25 Thread Rob Clark
On Fri, Aug 22, 2014 at 11:13 AM, Connor Abbott cwabbo...@gmail.com wrote: Importing/forking the llvm IR code with a different symbol set, and trying to not intentionally be incompatible with their llvm. That sounds like a huge amount of work, possibly even more work than going it on our own

Re: [Mesa-dev] [PATCH] radeonsi: set DB_DEPTH_SIZE.HEIGHT_TILE_MAX, inline other fields

2014-08-25 Thread Michel Dänzer
On 25.08.2014 19:13, Marek Olšák wrote: On Mon, Aug 25, 2014 at 9:15 AM, Michel Dänzer mic...@daenzer.net wrote: On 22.08.2014 00:51, Marek Olšák wrote: From: Marek Olšák marek.ol...@amd.com This fixes rendering to a non-zero layer/face/slice with HTILE. Bugzilla:

[Mesa-dev] [PATCH libclc] Fix build against LLVM SVN = r216393

2014-08-25 Thread Michel Dänzer
From: Michel Dänzer michel.daen...@amd.com Signed-off-by: Michel Dänzer michel.daen...@amd.com --- utils/prepare-builtins.cpp | 10 ++ 1 file changed, 10 insertions(+) diff --git a/utils/prepare-builtins.cpp b/utils/prepare-builtins.cpp index 726866e..59f3999 100644 ---