[Mesa-dev] [PATCH 1/3] i965: Bump MAX_3D_TEXTURE_SIZE to 2048.

2014-02-02 Thread Kenneth Graunke
It's highly unlikely that there will be enough memory in the system to allocate enough space for this, but we should still expose the hardware limit. It's what the Intel Windows driver does, and it seems most other vendors do likewise. Cc: i...@freedesktop.org Bugzilla: https://bugs.freedesktop.o

[Mesa-dev] [PATCH 3/3] i965: Bump MaxTexMbytes from 1GB to 1.5GB.

2014-02-02 Thread Kenneth Graunke
Even with the other limits raised, TestProxyTexImage would still reject textures > 1GB in size. This is an artificial limit; nothing prevents us from having a larger texture. I stayed shy of 2GB to avoid the larger-than-aperture situation. For 3D textures, this raises the effective limit: - RGB

[Mesa-dev] [PATCH 2/3] i965: Bump GL_MAX_CUBE_MAP_TEXTURE_SIZE to 8192.

2014-02-02 Thread Kenneth Graunke
Gen4+ supports 8192x8192 cube maps. Ivybridge and later can actually support 16384, but that would place GL_MAX_CUBE_MAP_TEXTURE_SIZE above GL_MAX_TEXTURE_SIZE, which seems like a bad idea. (Unfortunately, we can't bump GL_MAX_TEXTURE_SIZE to 16384 without causing regressions due to awful W-tiled

[Mesa-dev] [Bug 74312] ilo_dri.so is not installed like other drivers

2014-02-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74312 --- Comment #2 from Fabio Pedretti --- Mmh, this is not a very constructive answer. I know ilo is experimental and inferior to i965 but since it's provided and buildable, I would have expected it to install fine. Also, to be used, one needs anywa

[Mesa-dev] [Bug 72877] Wrong colors with Mesa 9.2 and Mesa 10.0 on PPC Linux systems

2014-02-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=72877 Christian Zigotzky changed: What|Removed |Added CC||chzigot...@xenosoft.de -- You are

[Mesa-dev] [Bug 72877] Wrong colors with Mesa 9.2 and Mesa 10.0 on PPC Linux systems

2014-02-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=72877 Christian Zigotzky changed: What|Removed |Added Version|9.2 |10.0 --- Comment #8 from Christian

[Mesa-dev] [Bug 72877] Wrong colors with Mesa 9.2 and Mesa 10.0 on PPC Linux systems

2014-02-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=72877 --- Comment #9 from Christian Zigotzky --- The problem is the package libgl1-mesa-dri. I have installed the old package libgl1-mesa-dri 8.0.5-4 with "Force Version" with the Synaptic package manager and this has solved the problem with the wrong

Re: [Mesa-dev] [PATCH 9/9] mesa: Drop unnecessary (void) ctx from VAO code.

2014-02-02 Thread Brian Paul
On 02/01/2014 11:30 PM, Kenneth Graunke wrote: ctx is always used, even on release builds. Signed-off-by: Kenneth Graunke For the series: Reviewed-by: Brian Paul Nice clean-ups! -Brian ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org htt

[Mesa-dev] [PATCH] mesa: change GL_ALL_ATTRIB_BITS to 0xFFFFFFFF

2014-02-02 Thread Brian Paul
This has been wrong for many years. It was originally 0x000F and long ago there was discussion about whether GL_ALL_ATTRIB_BITS should include the then-new GL_MULTISAMPLE_BIT bit. Eventually the ARB decided that glPushAttrib(GL_ALL_ATTRIB_BITS) should save all current and future attribute gro

Re: [Mesa-dev] [PATCH 03/13] mesa: implement glBufferStorage, immutable buffers; add extension enable flag

2014-02-02 Thread Ian Romanick
On 01/30/2014 02:20 AM, Marek Olšák wrote: > From: Marek Olšák > > --- > src/mesa/main/bufferobj.c | 98 > ++ > src/mesa/main/bufferobj.h | 4 ++ > src/mesa/main/extensions.c | 1 + > src/mesa/main/mtypes.h | 2 + > 4 files changed, 105 inser

Re: [Mesa-dev] [PATCH 26/35] meta: Use common GLSL code for blits

2014-02-02 Thread Ian Romanick
On 01/30/2014 09:51 AM, Rogovin, Kevin wrote: >> @@ -487,6 +486,7 @@ setup_shader_for_sampler(struct gl_context *ctx, struct >> glsl_sampler >> *sampler) >> "void main()\n" >> "{\n" >> " gl_FragCo

Re: [Mesa-dev] Mesa 10.1 release plan strawman

2014-02-02 Thread Ian Romanick
On 01/13/2014 11:31 PM, Ian Romanick wrote: > Fast forwarding 3 months from the 10.0 release (November 30th) is > February 28th. I'd like to propose the following set of dates: > > January 31st: Feature freeze / 10.1 branch created. I promise to not > let anyone on my team (myself included) dump

Re: [Mesa-dev] [PATCH 09/13] r300g, r600g, radeonsi: add support for ARB_buffer_storage

2014-02-02 Thread Marek Olšák
Is there a way to do the HDP flush at the bottom of the pipe? Can this be fixed in the kernel? For now, it would be safer to use GTT for all persistent mappings. I'll update the patch. Marek On Sat, Feb 1, 2014 at 11:58 AM, Christian König wrote: > Am 31.01.2014 21:36, schrieb Alex Deucher: > >

[Mesa-dev] [Bug 74312] ilo_dri.so is not installed like other drivers

2014-02-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74312 --- Comment #3 from Matt Turner --- > 5816a471 (Chia-I Wu 2012-12-13 06:01:23 +0800 33) noinst_LTLIBRARIES > = ilo_dri.la This seems to be by design, and with my distributor hat on I'm not interested in changing it. -- You are receivi

Re: [Mesa-dev] [PATCH] mesa: change GL_ALL_ATTRIB_BITS to 0xFFFFFFFF

2014-02-02 Thread Eric Anholt
Brian Paul writes: > This has been wrong for many years. It was originally 0x000F and long > ago there was discussion about whether GL_ALL_ATTRIB_BITS should include > the then-new GL_MULTISAMPLE_BIT bit. Eventually the ARB decided that > glPushAttrib(GL_ALL_ATTRIB_BITS) should save all cur

Re: [Mesa-dev] [PATCH 1/4] r600g, radeonsi: force VRAM placement for DRI2 buffers

2014-02-02 Thread Axel Davy
From: Marek Ols(ák http://lists.freedesktop.org/mailman/listinfo/mesa-dev>> --- src/gallium/drivers/radeon/r600_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index f80a6a2..434a65

Re: [Mesa-dev] [PATCH 1/4] r600g, radeonsi: force VRAM placement for DRI2 buffers

2014-02-02 Thread Marek Olšák
Well, it's kinda obvious what would happen. The buffer would be relocated to VRAM. Do you have any suggestion how to find out if the buffer should be in GTT instead? Marek On Mon, Feb 3, 2014 at 12:13 AM, Axel Davy wrote: >>From: Marek Olšák >> >>--- >> src/gallium/drivers/radeon/r600_texture.

Re: [Mesa-dev] [PATCH 1/4] r600g, radeonsi: force VRAM placement for DRI2 buffers

2014-02-02 Thread Michel Dänzer
On Sam, 2014-02-01 at 15:08 +0100, Marek Olšák wrote: > From: Marek Olšák > > --- > src/gallium/drivers/radeon/r600_texture.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/radeon/r600_texture.c > b/src/gallium/drivers/radeon/r600_texture.c > index

[Mesa-dev] [PATCH] r600g: Prevent SIGFPE when using r600_dma_copy_tile with large textures

2014-02-02 Thread Ahmed Allam
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73781 Signed-off-by: Ahmed Allam --- src/gallium/drivers/r600/r600_state.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index a0d527b..86908

Re: [Mesa-dev] [PATCH] R600/SI: Fix fneg for 0.0

2014-02-02 Thread Michel Dänzer
On Don, 2014-01-30 at 10:43 -0500, Tom Stellard wrote: > On Wed, Jan 29, 2014 at 06:23:00PM +0900, Michel Dänzer wrote: > > From: Michel Dänzer > > > > V_ADD_F32 with source modifier does not produce -0.0 for this. Just > > manipulate the sign bit directly instead. > > That's strange, so does th