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

2014-08-25 Thread Michel Dänzer
From: Michel Dänzer Signed-off-by: Michel Dänzer --- 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 --- a/utils/prepare-builtins.cpp +++ b/utils/prepare-builtins.cpp

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 wrote: On 22.08.2014 00:51, Marek Olšák wrote: From: Marek Olšák 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] [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 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 because th

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 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? >> >> Tha

[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 b/src/mesa/driv

[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 +++ b/src/mesa/drivers/dri/

[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 --- a/src/mesa/drivers/dri/i965/brw

[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 +++ b/src/mesa/drivers/dri/

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 wrote: >>> On Sun, Aug 24, 2014 at 7:44 AM, Marek Olšák wrote: From: Marek Olšák This fixes crashes if the number of temporaries is greater than

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 wrote: > On Fri, Aug 22, 2014 at 3:38 PM, Chris Wilson > 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 > >> wrote: > >> >> > > If a GPU > >> >> > > client uses only

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 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 releases,

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 y

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 wrote: >> On Sun, Aug 24, 2014 at 7:44 AM, Marek Olšák wrote: >>> From: Marek Olšák >>> >>> This fixes crashes if the number of temporaries is greater than 4096. >>> >>> Bugzilla: https://bugs.freedesktop.o

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 > > Fixes gles3 conformance tests: > > framebuffer_blit_functionality_negative_height_blit > framebuffer_blit_functionality_negative_width_blit > framebuffer_blit_functionality_negative_dimensions_blit > framebuffer_blit_fu

[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

[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. --- 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 have, and never have had,

[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 changed: What|Removed |Added CC||pali.ro...@gmail.com -- You are receiving

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 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 > >> --- > >> src/gallium/drivers/

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 > > > --- > > > src/gallium/dri

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

2014-08-25 Thread sroland
From: Roland Scheidegger 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 arb_base_instance-

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

2014-08-25 Thread sroland
From: Roland Scheidegger 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 support). And add the e

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 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 understand why it

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 wrote: > 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, s

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 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 required packages a

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

2014-08-25 Thread Eric Anholt
Tapani Pälli 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 > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82978 Everywhere else in swrast, true is 1.0f. Pretty sure yo

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 > > --- > > src/gallium/drivers/r600/compute_memory_pool.c | 5 + > > 1 file changed, 5 in

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 m

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 wrote: >> On Sun, Aug 24, 2014 at 7:44 AM, Marek Olšák wrote: >>> From: Marek Olšák >>> >>> This fixes crashes if the number of temporaries is greater than 4096. >>> >>> Bugzilla: >>> https://urldefense.pro

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 wrote: > On Sun, Aug 24, 2014 at 2:16 PM, Marek Olšák wrote: >> From: Marek Olšák >> >> --- >> res/main.xml | 144 >> +- >> src/main.c| 9 +++- >> src/program.h | 4 +- >> src/te

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 : > > Am 25

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 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 >> --- >> src/gallium/drivers/r600/compute_memory_pool.c | 5 + >> 1 file changed, 5 insertion

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 > differe

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 the

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="" > >

[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 s

[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 changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|mesa-dev@list

[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 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82978 --- src/mesa/drivers/dri/swrast/swrast.c | 3 +++ 1 file changed, 3 insertions(+) diff

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 wrote: > From: Marek Olšák > > --- > res/main.xml | 144 > +- > src/main.c| 9 +++- > src/program.h | 4 +- > src/texture.c | 17 +-- > 4 files changed, 136 insertions(+), 38 delet

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 wrote: > Signed-off-by: Maks Naumov > --- > radeon/radeon_surface.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c > index e056ed4..40a544a 100644

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 wrote: > On 22.08.2014 00:51, Marek Olšák wrote: >> >> From: Marek Olšák >> >> 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 @

[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 --- docs/GL3.txt | 2 +- src/gallium/drivers/r600/evergreen_state.c | 4 ++-- src/gallium/drivers/r600/r600_shader.c | 11 +++ src/gallium/drivers/r600/r600_shader.h | 1 + 4 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 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 -- Earthling Michel Dänzer| htt

[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 trans

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 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 *sctx, z_offs +=