[Mesa-dev] [Bug 53318] New: [softpipe] sp_state_shader.c:194:softpipe_delete_fs_state: Assertion `var != softpipe->fs_variant' failed.

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53318 Bug #: 53318 Summary: [softpipe] sp_state_shader.c:194:softpipe_delete_fs_state: Assertion `var != softpipe->fs_variant' failed. Classification: Unclassified Product: M

[Mesa-dev] [Bug 52140] Ubuntu Unity - Launcher and switcher icons disappeared

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52140 Timo Aaltonen changed: What|Removed |Added CC||tjaal...@ubuntu.com -- Configure bugmai

[Mesa-dev] [Bug 53317] New: [llvmpipe] SIGSEGV src/gallium/auxiliary/gallivm/lp_bld_sample.c:99

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53317 Bug #: 53317 Summary: [llvmpipe] SIGSEGV src/gallium/auxiliary/gallivm/lp_bld_sample.c:99 Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD

[Mesa-dev] [Bug 53316] New: [llvmpipe] src/gallium/drivers/llvmpipe/lp_texture.c:601:llvmpipe_get_transfer: Assertion `resource' failed.

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53316 Bug #: 53316 Summary: [llvmpipe] src/gallium/drivers/llvmpipe/lp_texture.c:601:llvmpipe _get_transfer: Assertion `resource' failed. Classification: Unclassified Product

[Mesa-dev] [Bug 53314] New: [llvmpipe] src/gallium/drivers/llvmpipe/lp_texture.c:920:llvmpipe_get_texture_tile_layout: Assertion `x < lpr->tiles_per_row[level]' failed.

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53314 Bug #: 53314 Summary: [llvmpipe] src/gallium/drivers/llvmpipe/lp_texture.c:920:llvmpipe _get_texture_tile_layout: Assertion `x < lpr->tiles_per_row[level]' failed.

[Mesa-dev] [PATCH 13/16] gallium/identity: add 'start' parameter to bind_sampler_states/views()

2012-08-09 Thread Brian Paul
--- src/gallium/drivers/identity/id_context.c | 16 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/identity/id_context.c b/src/gallium/drivers/identity/id_context.c index 0267934..f5c6a5c 100644 --- a/src/gallium/drivers/identity/id_context.

[Mesa-dev] [PATCH 16/16] r600: update sampler, sampler_view code for the future

2012-08-09 Thread Brian Paul
For when we have pipe->set_sampler_states(pipe, shader, start, num, samplers), etc. --- src/gallium/drivers/r600/evergreen_state.c |6 +-- src/gallium/drivers/r600/r600_pipe.h |5 +- src/gallium/drivers/r600/r600_state.c|6 +-- src/gallium/drivers/r600/r600_state_comm

[Mesa-dev] [PATCH 15/16] rbug: update data structures, functions for future changes

2012-08-09 Thread Brian Paul
To support geom/compute/etc shaders, samplers, sampler views, etc. To support pipe->bind_sampler_states() w/ start_slot. --- src/gallium/drivers/rbug/rbug_context.c | 113 --- src/gallium/drivers/rbug/rbug_context.h | 17 ++--- src/gallium/drivers/rbug/rbug_core.c

[Mesa-dev] [PATCH 14/16] gallium/trace: add 'start' parameter to bind_sampler_states/views()

2012-08-09 Thread Brian Paul
--- src/gallium/drivers/trace/tr_context.c | 18 ++ 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c index 54ad0e9..f50a742 100644 --- a/src/gallium/drivers/trace/tr_context.c +++ b/sr

[Mesa-dev] [PATCH 12/16] galahad: add 'start' parameter to bind_sampler_states/views()

2012-08-09 Thread Brian Paul
--- src/gallium/drivers/galahad/glhd_context.c | 98 1 files changed, 57 insertions(+), 41 deletions(-) diff --git a/src/gallium/drivers/galahad/glhd_context.c b/src/gallium/drivers/galahad/glhd_context.c index dc7f017..601081b 100644 --- a/src/gallium/drivers/gala

[Mesa-dev] [PATCH 11/16] svga: add 'start' parameter to bind_sampler_states/views()

2012-08-09 Thread Brian Paul
--- src/gallium/drivers/svga/svga_pipe_sampler.c | 89 +++--- 1 files changed, 65 insertions(+), 24 deletions(-) diff --git a/src/gallium/drivers/svga/svga_pipe_sampler.c b/src/gallium/drivers/svga/svga_pipe_sampler.c index 7675daa..0d2745e 100644 --- a/src/gallium/drivers/

[Mesa-dev] [PATCH 10/16] llvmpipe: add 'start' parameter to bind_sampler_states/views()

2012-08-09 Thread Brian Paul
--- src/gallium/drivers/llvmpipe/lp_state_sampler.c | 67 +++ 1 files changed, 45 insertions(+), 22 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_state_sampler.c b/src/gallium/drivers/llvmpipe/lp_state_sampler.c index 8e30b5c..0be900e 100644 --- a/src/gallium/dr

[Mesa-dev] [PATCH 09/16] softpipe: add 'start' parameter to bind_sampler_states/views()

2012-08-09 Thread Brian Paul
To support updating a sub-range of sampler states/views in the future. Note that we always pass start=0 at this time. --- src/gallium/drivers/softpipe/sp_state_sampler.c | 74 +++ 1 files changed, 49 insertions(+), 25 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp

[Mesa-dev] [PATCH 08/16] gallium/trace: consolidate sampler, sampler_view code

2012-08-09 Thread Brian Paul
--- src/gallium/drivers/trace/tr_context.c | 132 1 files changed, 82 insertions(+), 50 deletions(-) diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c index 17f7e95..54ad0e9 100644 --- a/src/gallium/drivers/trace/tr_con

[Mesa-dev] [PATCH 07/16] gallium/identity: consolidate sampler, sampler_view code

2012-08-09 Thread Brian Paul
This will simplify things when the pipe_context functions are consolidated. --- src/gallium/drivers/identity/id_context.c | 86 ++--- 1 files changed, 54 insertions(+), 32 deletions(-) diff --git a/src/gallium/drivers/identity/id_context.c b/src/gallium/drivers/identity

[Mesa-dev] [PATCH 06/16] st/mesa: add support for GS textures and samplers

2012-08-09 Thread Brian Paul
--- src/mesa/state_tracker/st_atom.c |3 ++- src/mesa/state_tracker/st_atom.h |3 ++- src/mesa/state_tracker/st_atom_sampler.c | 16 src/mesa/state_tracker/st_atom_texture.c | 28 +++- 4 files changed, 39 insertions(+), 11 deleti

[Mesa-dev] [PATCH 05/16] st/mesa: combine vertex/fragment sampler state in arrays

2012-08-09 Thread Brian Paul
As with other recent changes, put the vertex and fragment sampler state into arrays indexed by the shader type. This will let us easily add support for other types of shaders in the future. --- src/mesa/state_tracker/st_atom_sampler.c | 12 ++-- src/mesa/state_tracker/st_atom_texture.c

[Mesa-dev] [PATCH 04/16] gallium: remove PIPE_MAX_VERTEX/GEOMETRY_SAMPLERS #define

2012-08-09 Thread Brian Paul
PIPE_MAX_SAMPLERS, PIPE_MAX_VERTEX_SAMPLERS and PIPE_MAX_GEOMETRY_SAMPLERS were all defined to the same value (16). In various places we're creating arrays such as sampler_views[PIPE_SHADER_TYPES][PIPE_MAX_SAMPLERS] so we were assuming the same number of max samplers for all shader stages anyway.

[Mesa-dev] [PATCH 03/16] draw: index samplers and sampler_view state by shader type

2012-08-09 Thread Brian Paul
So that we can handle GS state and other types of shaders in the future. --- src/gallium/auxiliary/draw/draw_context.c | 34 +--- src/gallium/auxiliary/draw/draw_llvm.c| 16 +++-- src/gallium/auxiliary/draw/draw_private.h | 13 +++--- 3 files changed,

[Mesa-dev] [PATCH 02/16] draw: move tgsi-related state into a tgsi sub-struct

2012-08-09 Thread Brian Paul
To better organize things a bit. --- src/gallium/auxiliary/draw/draw_context.c | 10 +- src/gallium/auxiliary/draw/draw_gs.c | 22 +++--- src/gallium/auxiliary/draw/draw_private.h | 21 + src/gallium/auxiliary/draw/draw_vs.c |6 +++---

[Mesa-dev] [PATCH 01/16] gallium: add a shader stage/type param to some draw functions

2012-08-09 Thread Brian Paul
To prepare for geometry shader texture support in the draw module. Note: we still only handle the vertex shader case. --- src/gallium/auxiliary/draw/draw_context.c | 47 +- src/gallium/auxiliary/draw/draw_context.h |3 + src/gallium/drivers/i915/i915_state.c

[Mesa-dev] [PATCH 0/16] Assorted gallium shader, sampler, sampler_view changes

2012-08-09 Thread Brian Paul
The following patches are steps toward some gallium API clean-ups. 1. Eventually, replace pipe_context::bind_fragment/vertex/geometry/compute_sampler_states() with a single bind_sampler_states() entrypoint which takes a PIPE_SHADER_x to identify the shader stage and a 'start_slot' value like

Re: [Mesa-dev] [PATCH 04/14] mesa: Don't advertise extensions that are part of GL 1.4 in a core context

2012-08-09 Thread Marek Olšák
On Fri, Aug 10, 2012 at 3:42 AM, Ian Romanick wrote: > On 08/08/2012 10:53 AM, Brian Paul wrote: >> >> On 08/08/2012 11:38 AM, Ian Romanick wrote: >>> >>> From: Ian Romanick >>> >>> Signed-off-by: Ian Romanick >>> --- >>> src/mesa/main/extensions.c | 24 >>> 1 files c

Re: [Mesa-dev] [PATCH 04/14] mesa: Don't advertise extensions that are part of GL 1.4 in a core context

2012-08-09 Thread Roland Scheidegger
Am 10.08.2012 03:42, schrieb Ian Romanick: > On 08/08/2012 10:53 AM, Brian Paul wrote: >> On 08/08/2012 11:38 AM, Ian Romanick wrote: >>> From: Ian Romanick >>> >>> Signed-off-by: Ian Romanick >>> --- >>> src/mesa/main/extensions.c | 24 >>> 1 files changed, 12 inserti

[Mesa-dev] Upcoming Mesa releases

2012-08-09 Thread Ian Romanick
After the big announcement at SIGGRAPH, I want to discuss plans for upcoming Mesa releases. This is basically inline with what we discussed a few months ago, but there are a couple changes. I know a lot of people have been doing a lot of work all across the graphics stack, so I want to make s

[Mesa-dev] Upcoming Mesa releases

2012-08-09 Thread Ian Romanick
After the big announcement at SIGGRAPH, I want to discuss plans for upcoming Mesa releases. This is basically inline with what we discussed a few months ago, but there are a couple changes. I know a lot of people have been doing a lot of work all across the graphics stack, so I want to make s

Re: [Mesa-dev] [PATCH 04/14] mesa: Don't advertise extensions that are part of GL 1.4 in a core context

2012-08-09 Thread Ian Romanick
On 08/08/2012 10:53 AM, Brian Paul wrote: On 08/08/2012 11:38 AM, Ian Romanick wrote: From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/main/extensions.c | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/mesa/main/extensions.c b/s

Re: [Mesa-dev] [PATCH] intel: Don't advertise GLX_SWAP_COPY_OML

2012-08-09 Thread Ian Romanick
The tail should not wag the dog. If the application requests such a config, we should not page flip. There are cases where the copy is preferable because it leaves the backbuffer intact. On Aug 9, 2012, at 9:11 AM, Chad Versace wrote: > This patch removes all gl_config's with swapMethod=GLX_S

Re: [Mesa-dev] [PATCH 03/19] gallium: make pipe_box signed in order to represent flipped blits

2012-08-09 Thread Roland Scheidegger
Am 10.08.2012 00:37, schrieb Marek Olšák: > I'd like to have either signed pipe_box or a new struct for that purpose. It looks to me like conceptually what you want is more like a coordinate pair. I dunno though but negative width/height/depth just aren't very intuitive for a box. But maybe I'm the

Re: [Mesa-dev] [PATCH 03/19] gallium: make pipe_box signed in order to represent flipped blits

2012-08-09 Thread Marek Olšák
I'd like to have either signed pipe_box or a new struct for that purpose. I assume transfers and resource_copy_region will always be unsigned. x,y,z don't have to be signed, good point. Marek On Thu, Aug 9, 2012 at 10:38 PM, Roland Scheidegger wrote: > I'm not convinced this is a good idea. >

Re: [Mesa-dev] [PATCH 00/19] MSAA on Evergreen

2012-08-09 Thread Marek Olšák
On Thu, Aug 9, 2012 at 10:38 PM, Dave Airlie wrote: >> >> this series implements MSAA support for Evergreen. It passes most MSAA >> piglit tests. I think Cayman support is ready too, but I don't have a Cayman >> GPU to test it. In the last patch, a DRM version check has yet to be added >> for t

[Mesa-dev] [Bug 53283] Rendering problems in Sacred with Radeon and Nvidia

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53283 kh3...@yandex.ru changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 53283] Rendering problems in Sacred with Radeon and Nvidia

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53283 --- Comment #9 from kh3...@yandex.ru 2012-08-09 21:05:31 UTC --- I found that this problem is related to conflict between amd64 and i386. Sacred Gold is i386, so running on amd64 with open drivers causes this problem. I tried to install i386 libra

Re: [Mesa-dev] [PATCH 00/19] MSAA on Evergreen

2012-08-09 Thread Dave Airlie
> > this series implements MSAA support for Evergreen. It passes most MSAA piglit > tests. I think Cayman support is ready too, but I don't have a Cayman GPU to > test it. In the last patch, a DRM version check has yet to be added for the > kernel patches I sent earlier today. > > The tests whic

Re: [Mesa-dev] [PATCH 03/19] gallium: make pipe_box signed in order to represent flipped blits

2012-08-09 Thread Roland Scheidegger
I'm not convinced this is a good idea. That dilutes the meaning of a "box" quite a bit (and I don't think x/y/z can actually be negative?). There are presumably also quite a lot of uses of pipe_box which might not be able to deal with such boxes. Roland Am 09.08.2012 18:07, schrieb Marek Olšák:

Re: [Mesa-dev] [PATCH] mesa: Remove C++11 narrowing warnings

2012-08-09 Thread Kenneth Graunke
On 08/09/2012 01:10 PM, Chad Versace wrote: > Add -Wno-narrowing to CXXFLAGS for gcc. > > This removes warnings of the form > warning: narrowing conversion of X from 'int' to 'float' inside { } is > ill-formed in C++11 [-Wnarrowing] > in ff_fragment_shader.cpp and gen6_blorp.cpp of the for

[Mesa-dev] [PATCH] mesa: Remove C++11 narrowing warnings

2012-08-09 Thread Chad Versace
Add -Wno-narrowing to CXXFLAGS for gcc. This removes warnings of the form warning: narrowing conversion of X from 'int' to 'float' inside { } is ill-formed in C++11 [-Wnarrowing] in ff_fragment_shader.cpp and gen6_blorp.cpp of the form. When building i965, I observed no other difference i

Re: [Mesa-dev] [PATCH] mesa: Fix some -Wnarrowing warnings

2012-08-09 Thread Kenneth Graunke
On 08/09/2012 11:39 AM, Chad Versace wrote: > Fixes the following warnings: > ff_fragment_shader.cpp: In function 'ir_rvalue* > emit_texenv(texenv_fragment_program*, GLuint)': > ff_fragment_shader.cpp:897:3: warning: narrowing conversion of '(1 << > ((int)rgb_shift))' from 'int' to 'float' in

[Mesa-dev] [PATCH] mesa: Fix some -Wnarrowing warnings

2012-08-09 Thread Chad Versace
Fixes the following warnings: ff_fragment_shader.cpp: In function 'ir_rvalue* emit_texenv(texenv_fragment_program*, GLuint)': ff_fragment_shader.cpp:897:3: warning: narrowing conversion of '(1 << ((int)rgb_shift))' from 'int' to 'float' inside { } is ill-formed in C++11 [-Wnarrowing] ff_fr

[Mesa-dev] [PATCH 3/3] intel: Fix rendering to a multisample front buffer

2012-08-09 Thread Chad Versace
We need to downsample before flushing BUFFER_FAKE_FRONT_LEFT to BUFFER_FRONT_LEFT in intel_flush_front. CC: Eric Anholt Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_context.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/mesa/drivers/dri/intel/intel_con

[Mesa-dev] [PATCH 1/3] intel: Refactor intel_downsample_for_dri2_flush

2012-08-09 Thread Chad Versace
Move it from intel_screen.c to intel_context.c. Redeclare as non-static. A future commit will use it in multiple files. Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_context.c | 30 ++ src/mesa/drivers/dri/intel/intel_context.h | 4 src/mesa/d

[Mesa-dev] [PATCH 2/3] intel: Clean up intel_flush_front

2012-08-09 Thread Chad Versace
Stop repeating ourselves. Replace the 4 instances of `driContext->driDrawablePriv` with `driDrawable`. Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_context.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_context.

[Mesa-dev] [PATCH 0/3] intel: Fix rendering to a multisample front buffer

2012-08-09 Thread Chad Versace
We need to downsample before flushing BUFFER_FAKE_FRONT_LEFT to BUFFER_FRONT_LEFT in intel_flush_front. Patches 1-2 are little refactors. Patch 3 is the actual fix. Chad Versace (3): intel: Refactor intel_downsample_for_dri2_flush intel: Clean up intel_flush_front intel: Fix rendering to a

Re: [Mesa-dev] breakage from "Make shared-glapi the default"

2012-08-09 Thread Ian Romanick
On 08/09/2012 08:09 AM, Brian Paul wrote: As of commit 9f7b3d171306ed2ae588e1a4145c5a364cf986ff, when I try to configure and build with: $ CFLAGS=-g ./autogen.sh --enable-xlib-glx --with-x --disable-driglx-direct --disable-dri --enable-debug --enable-gles1 --enable-gles2 --enable-openvg --enabl

Re: [Mesa-dev] [PATCH v3 5/8] mesa pack: handle packed integer formats with clamping

2012-08-09 Thread Jordan Justen
On Thu, Aug 9, 2012 at 7:47 AM, Brian Paul wrote: > On 07/23/2012 10:59 AM, Jordan Justen wrote: >> >> Signed-off-by: Jordan Justen >> --- >> src/mesa/main/pack.c | 549 >> +- >> 1 file changed, 547 insertions(+), 2 deletions(-) >> >> diff --git

Re: [Mesa-dev] [PATCH 06/14] mesa: Filter a bunch more functions based on API

2012-08-09 Thread Kenneth Graunke
On 08/09/2012 09:16 AM, Ian Romanick wrote: > This code is currently only used for desktop GL (core and classic) and > ES2. ES1 still has it's own separate path. Oh, right. I forgot about that. Still, aren't we planning on merging them at some point? If so, it's a tiny change to be future-proo

Re: [Mesa-dev] [PATCH 13/14] i965: Advertise GLSL 1.40 and TexBOs in core contexts

2012-08-09 Thread Ian Romanick
On 08/08/2012 03:14 PM, Kenneth Graunke wrote: On 08/08/2012 10:38 AM, Ian Romanick wrote: From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/intel/intel_extensions.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri

Re: [Mesa-dev] breakage from "Make shared-glapi the default"

2012-08-09 Thread Brian Paul
On 08/09/2012 10:00 AM, Matt Turner wrote: On Thu, Aug 9, 2012 at 8:09 AM, Brian Paul wrote: As of commit 9f7b3d171306ed2ae588e1a4145c5a364cf986ff, when I try to configure and build with: $ CFLAGS=-g ./autogen.sh --enable-xlib-glx --with-x --disable-driglx-direct --disable-dri --enable-debug

Re: [Mesa-dev] [PATCH 06/14] mesa: Filter a bunch more functions based on API

2012-08-09 Thread Ian Romanick
On 08/08/2012 02:41 PM, Kenneth Graunke wrote: On 08/08/2012 10:38 AM, Ian Romanick wrote: From: Ian Romanick Signed-off-by: Ian Romanick Two small mistakes, noted below. diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index 81be46d..67f17a4 100644 --- a/src/mesa/main/api

[Mesa-dev] [PATCH 4/4] svga: move result->key expression after result != NULL check

2012-08-09 Thread Brian Paul
--- src/gallium/drivers/svga/svga_state_constants.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/svga/svga_state_constants.c b/src/gallium/drivers/svga/svga_state_constants.c index a871154..77c9349 100644 --- a/src/gallium/drivers/svga/svga_state

[Mesa-dev] [PATCH 3/4] svga: fix result==NULL logic in emit_fs_consts()

2012-08-09 Thread Brian Paul
The previous test for result != NULL was kind of bogus since we dereferenced the pointer earlier in the code. Now, check for result != NULL first, then get the result->key info. Also, remove the useless "offset +=" code at the end. --- src/gallium/drivers/svga/svga_state_constants.c | 48 +

[Mesa-dev] [PATCH 2/4] svga: update comment (s/SVGA_NEW_VS_RESULT/SVGA_NEW_VS_PRESCALE/)

2012-08-09 Thread Brian Paul
--- src/gallium/drivers/svga/svga_state_constants.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/svga/svga_state_constants.c b/src/gallium/drivers/svga/svga_state_constants.c index 1a67c11..a3d61fb 100644 --- a/src/gallium/drivers/svga/svga_state_c

[Mesa-dev] [PATCH 1/4] svga: rename svga_hw_vs_parameters -> svga_hw_vs_constants

2012-08-09 Thread Brian Paul
and similarly for svga_hw_fs_parameters --- src/gallium/drivers/svga/svga_state.c |4 ++-- src/gallium/drivers/svga/svga_state.h |4 ++-- src/gallium/drivers/svga/svga_state_constants.c |4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gall

[Mesa-dev] [PATCH] intel: Don't advertise GLX_SWAP_COPY_OML

2012-08-09 Thread Chad Versace
This patch removes all gl_config's with swapMethod=GLX_SWAP_COPY_OML. When page flipping, we are unable to comply with swap-copy semantics. CC: Eric Anholt Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_screen.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-

[Mesa-dev] [PATCH 19/19] r600g: enable MSAA on evergreen by default

2012-08-09 Thread Marek Olšák
--- src/gallium/drivers/r600/evergreen_state.c | 24 +--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index e6e2fb2..56e392e 100644 --- a/src/gallium/drivers/r600/everg

[Mesa-dev] [PATCH 18/19] r600g: implement copying between MSAA textures

2012-08-09 Thread Marek Olšák
--- src/gallium/drivers/r600/r600_blit.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 547386d..f3a3b8f 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/dri

[Mesa-dev] [PATCH 17/19] r600g: implement MSAA color resolve

2012-08-09 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_blitter.c | 61 + src/gallium/auxiliary/util/u_blitter.h |8 +++ src/gallium/drivers/r600/evergreen_state.c | 24 +++-- src/gallium/drivers/r600/r600_blit.c | 80 src/gallium/drivers/r600/

[Mesa-dev] [PATCH 16/19] r600g: implemented MSAA depth-stencil decompression and resolve

2012-08-09 Thread Marek Olšák
and integer textures, which are resolved the same as depth, I think. --- src/gallium/auxiliary/util/u_blitter.c |2 + src/gallium/auxiliary/util/u_blitter.h |1 + src/gallium/drivers/r600/evergreen_state.c |3 +- src/gallium/drivers/r600/r600_blit.c | 164 +++

[Mesa-dev] [PATCH 15/19] r600g: implement TXQ_LZ opcode

2012-08-09 Thread Marek Olšák
--- src/gallium/drivers/r600/r600_shader.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index d87e2af..cec167c 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b

[Mesa-dev] [PATCH 14/19] r600g: implement MSAA rendering and texturing for evergreen and cayman

2012-08-09 Thread Marek Olšák
--- src/gallium/drivers/r600/evergreen_hw_context.c | 13 ++ src/gallium/drivers/r600/evergreen_state.c | 220 --- src/gallium/drivers/r600/evergreend.h | 24 ++- src/gallium/drivers/r600/r600_texture.c |3 +- 4 files changed, 234 insertions(+),

[Mesa-dev] [PATCH 13/19] r600g: implement set_sample_mask

2012-08-09 Thread Marek Olšák
--- src/gallium/drivers/r600/evergreen_state.c | 39 ++ src/gallium/drivers/r600/r600_blit.c |1 + src/gallium/drivers/r600/r600_hw_context.c |1 + src/gallium/drivers/r600/r600_pipe.h |7 + src/gallium/drivers/r600/r600_state.c

[Mesa-dev] [PATCH 12/19] r600g: implement alpha-to-coverage

2012-08-09 Thread Marek Olšák
--- src/gallium/drivers/r600/evergreen_hw_context.c |2 ++ src/gallium/drivers/r600/evergreen_state.c | 13 + src/gallium/drivers/r600/evergreend.h |7 +++ src/gallium/drivers/r600/r600_hw_context.c |1 + src/gallium/drivers/r600/r600_state.c

[Mesa-dev] [PATCH 11/19] r600g: implement alpha-to-one

2012-08-09 Thread Marek Olšák
--- src/gallium/drivers/r600/evergreen_state.c |4 src/gallium/drivers/r600/r600_pipe.h |5 + src/gallium/drivers/r600/r600_shader.c |3 ++- src/gallium/drivers/r600/r600_state.c|5 + src/gallium/drivers/r600/r600_state_common.c |5 - 5

[Mesa-dev] [PATCH 10/19] r600g: remove support for 3-channel colorbuffers

2012-08-09 Thread Marek Olšák
We have no sampler support for them. --- src/gallium/drivers/r600/evergreen_state.c |7 --- src/gallium/drivers/r600/r600_state.c |8 2 files changed, 15 deletions(-) diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c in

[Mesa-dev] [PATCH 09/19] winsys/radeon: print error if CS is overflowed

2012-08-09 Thread Marek Olšák
and don't submit the CS to the kernel. --- src/gallium/winsys/radeon/drm/radeon_drm_cs.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_cs.c b/src/gallium/winsys/radeon/drm/radeon_drm_cs.c index 186c5bc..7e0f2f9 100644 --- a

[Mesa-dev] [PATCH 08/19] gallium/u_blitter: implement X and Y texture flipping

2012-08-09 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_blitter.c | 37 ++-- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index 7283a14..4cc3aa4 100644 --- a/src/gallium/auxiliary/util/u_blit

[Mesa-dev] [PATCH 07/19] gallium/u_blitter: implement blitting multisample resources

2012-08-09 Thread Marek Olšák
It can blit only one sample at a time (it should be called in a loop). --- src/gallium/auxiliary/util/u_blit.c |8 +- src/gallium/auxiliary/util/u_blitter.c| 250 - src/gallium/auxiliary/util/u_blitter.h| 10 +- src/gallium/auxiliary/util/u_

[Mesa-dev] [PATCH 06/19] gallium: add TGSI support for multisample textures

2012-08-09 Thread Marek Olšák
The only allowed instructions are TXQ_LZ and TXF. TXQ_LZ is like TXQ, but without the LOD parameter (which is always zero with MSAA textures) The 3rd or the 4th texcoord component in TXF should contain the sample index for a 2D_MSAA or 2D_ARRAY_MSAA texture, respectively. --- src/gallium/auxilia

[Mesa-dev] [PATCH 05/19] gallium/tgsi: fix TGSI text parser

2012-08-09 Thread Marek Olšák
The problem was that the string matching succeeded e.g. for "2D" when there was actually "2D_MSAA" and then failed parsing "_MSAA". To prevent similar failures in the future, let's fix this kind of error everywhere. --- src/gallium/auxiliary/tgsi/tgsi_text.c | 174 ++-

[Mesa-dev] [PATCH 04/19] gallium/u_blit: set dst format from pipe_resource, not pipe_surface

2012-08-09 Thread Marek Olšák
We use it to decide whether we can use resource_copy_region. NOTE: This is a candidate for the 8.0 branch. --- src/gallium/auxiliary/util/u_blit.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c inde

[Mesa-dev] [PATCH 03/19] gallium: make pipe_box signed in order to represent flipped blits

2012-08-09 Thread Marek Olšák
This will be used by u_blitter. --- src/gallium/include/pipe/p_state.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index c828c80..76559ad 100644 --- a/src/gallium/include/pipe/p_state.h

[Mesa-dev] [PATCH 02/19] st/mesa: don't clamp fragment color with integer colorbuffer

2012-08-09 Thread Marek Olšák
--- src/mesa/state_tracker/st_atom_rasterizer.c |3 ++- src/mesa/state_tracker/st_atom_shader.c |5 +++-- src/mesa/state_tracker/st_cb_bitmap.c |3 ++- src/mesa/state_tracker/st_cb_drawpixels.c |6 -- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/s

[Mesa-dev] [PATCH 01/19] mesa: flush vertices in test_framebuffer_completeness

2012-08-09 Thread Marek Olšák
--- src/mesa/main/fbobject.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index d558d7f..43ee3b4 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -685,6 +685,9 @@ _mesa_test_framebuffer_completeness(struct gl_c

[Mesa-dev] [PATCH 00/19] MSAA on Evergreen

2012-08-09 Thread Marek Olšák
Hi everyone, this series implements MSAA support for Evergreen. It passes most MSAA piglit tests. I think Cayman support is ready too, but I don't have a Cayman GPU to test it. In the last patch, a DRM version check has yet to be added for the kernel patches I sent earlier today. The tests whi

Re: [Mesa-dev] breakage from "Make shared-glapi the default"

2012-08-09 Thread Matt Turner
On Thu, Aug 9, 2012 at 8:09 AM, Brian Paul wrote: > As of commit 9f7b3d171306ed2ae588e1a4145c5a364cf986ff, when I try to > configure and build with: > > $ CFLAGS=-g ./autogen.sh --enable-xlib-glx --with-x --disable-driglx-direct > --disable-dri --enable-debug --enable-gles1 --enable-gles2 --enabl

Re: [Mesa-dev] [PATCH] intel: use _mesa_meta_Clear with OpenGL ES 1.1 v3

2012-08-09 Thread Eric Anholt
Tapani Pälli writes: > Patch changes i915 and i965 drivers to use fixed function version of > meta clear when running on ES 1.1. This fixes rendering errors seen with > Google Maps, Angry Birds and Gallery3D on Android platform. > > Change 88128516d43be5d25288ff5b64db63cda83c04b3 exposes all exte

Re: [Mesa-dev] [PATCH 14/14] i965: Allow creation of OpenGL 3.1 contexts

2012-08-09 Thread Eric Anholt
Jordan Justen writes: > For series: > Reviewed-by: Jordan Justen Also, there's an unpiglited branch on the "31" branch of my tree for starting to make 3.1 contexts actually work on top of the gles3 branch. I think the texbo patch there is in decent shape, to the extent I can test it in oglconf

[Mesa-dev] [PATCH v2] gbm: Fix build without gallium_drm_loader

2012-08-09 Thread Chí-Thanh Christopher Nguyễn
pipe_loader_drm_probe_fd only exists if HAVE_PIPE_LOADER_DRM is defined. This addresses https://bugs.freedesktop.org/show_bug.cgi?id=52962 Patch improved as suggested by Vadim A. Misbakh-Soloviov. Signed-off-by: Chí-Thanh Christopher Nguyễn --- src/gallium/targets/gbm/gbm.c |2 ++ 1 files ch

[Mesa-dev] [Bug 53256] opt_dead_code_local removing assignments to array elements

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53256 Chris Wolfe changed: What|Removed |Added AssignedTo|i...@freedesktop.org |mesa-dev@lists.freedesktop.

[Mesa-dev] [Bug 44912] [bisected] WebGL conformance/textures/texture-mips tests fails

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44912 --- Comment #7 from Brian Paul 2012-08-09 15:12:44 UTC --- Is it possible for you to make an apitrace of this issue? I don't have time to install/setup a WebGL browser ATM. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=

[Mesa-dev] breakage from "Make shared-glapi the default"

2012-08-09 Thread Brian Paul
As of commit 9f7b3d171306ed2ae588e1a4145c5a364cf986ff, when I try to configure and build with: $ CFLAGS=-g ./autogen.sh --enable-xlib-glx --with-x --disable-driglx-direct --disable-dri --enable-debug --enable-gles1 --enable-gles2 --enable-openvg --enable-gallium-egl --enable-xa --enable-xorg

[Mesa-dev] [Bug 53283] Rendering problems in Sacred with Radeon and Nvidia

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53283 --- Comment #8 from kh3...@yandex.ru 2012-08-09 14:54:08 UTC --- OK, I'll try. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.

[Mesa-dev] [Bug 53283] Rendering problems in Sacred with Radeon and Nvidia

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53283 kh3...@yandex.ru changed: What|Removed |Added Severity|normal |critical -- Configure bugmail: https:

[Mesa-dev] [Bug 51749] make[6]: ../../../../src/mesa/Makefile.old: No such file or directory

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51749 --- Comment #3 from Matt Turner 2012-08-09 14:53:09 UTC --- Out of tree builds aren't fixed yet, but Makefile.old does't even exist anymore, hence my question. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- Y

[Mesa-dev] [Bug 53283] Rendering problems in Sacred with Radeon and Nvidia

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53283 kh3...@yandex.ru changed: What|Removed |Added CC||nouveau@lists.freedesktop.o

[Mesa-dev] [Bug 53283] Rendering problems in Sacred with Radeon and Nvidia

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53283 kh3...@yandex.ru changed: What|Removed |Added CC||dri-devel@lists.freedesktop

Re: [Mesa-dev] [PATCH v3 7/8] meta: allow CopyTexSubImage on integer formats

2012-08-09 Thread Brian Paul
On 07/23/2012 10:59 AM, Jordan Justen wrote: Signed-off-by: Jordan Justen --- src/mesa/drivers/common/meta.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index cf2d053..d1fd268 100644 ---

Re: [Mesa-dev] [PATCH v3 6/8] ReadPixels: handle signed/unsigned integer clamping

2012-08-09 Thread Brian Paul
On 07/23/2012 10:59 AM, Jordan Justen wrote: Signed-off-by: Jordan Justen --- src/mesa/main/readpix.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c index 784aaad..4fa816f 100644 --- a/src/mesa/main/readpix

Re: [Mesa-dev] [PATCH v3 5/8] mesa pack: handle packed integer formats with clamping

2012-08-09 Thread Brian Paul
On 07/23/2012 10:59 AM, Jordan Justen wrote: Signed-off-by: Jordan Justen --- src/mesa/main/pack.c | 549 +- 1 file changed, 547 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index efbff5d..a599f21 10064

Re: [Mesa-dev] [PATCH v3 4/8] mesa unpack: use _mesa_problem rather than assert

2012-08-09 Thread Brian Paul
On 07/23/2012 10:59 AM, Jordan Justen wrote: If the unpack functions is not available, use _mesa_problem rather than asserting. Signed-off-by: Jordan Justen --- src/mesa/main/format_unpack.c |5 + 1 file changed, 5 insertions(+) diff --git a/src/mesa/main/format_unpack.c b/src/mesa/m

[Mesa-dev] [Bug 44912] [bisected] WebGL conformance/textures/texture-mips tests fails

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44912 Benoit Jacob changed: What|Removed |Added CC||bri...@vmware.com --- Comment #6 from Ben

[Mesa-dev] [Bug 53283] Rendering problems in Sacred with Radeon and Nvidia

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53283 --- Comment #7 from Alex Deucher 2012-08-09 14:05:49 UTC --- Can you try updated 3D drivers from mesa git? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are t

[Mesa-dev] [Bug 53283] Rendering problems in Sacred with Radeon and Nvidia

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53283 Alex Deucher changed: What|Removed |Added Attachment #65336|text/x-log |text/plain mime type|

[Mesa-dev] [Bug 53283] Rendering problems in Sacred with Radeon and Nvidia

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53283 Alex Deucher changed: What|Removed |Added Attachment #65334|application/octet-stream|text/plain mime type|

[Mesa-dev] [Bug 53283] Rendering problems in Sacred with Radeon and Nvidia

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53283 Alex Deucher changed: What|Removed |Added Attachment #65332|text/x-log |text/plain mime type|

Re: [Mesa-dev] [PATCH] gbm: Fix build without gallium_drm_loader

2012-08-09 Thread Vadim A. Misbakh-Soloviov
I think, you should move #ifdef block before "int ret", since currently it will cause "unused variable" warning. signature.asc Description: OpenPGP digital signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/

Re: [Mesa-dev] [PATCH] i915: Re-enable Z16/Z24 formats.

2012-08-09 Thread Reimar Döffinger
On 9 Aug 2012, at 00:16, Eric Anholt wrote: > Reimar Döffinger writes: > >> This allows MPlayer to (mis-)use depth textures to quickly upload >> and render 16-bit per component YUV video. >> There is still the issue that the actual precision is only around >> 10-bits, at least when using it in t

[Mesa-dev] [Bug 51749] make[6]: ../../../../src/mesa/Makefile.old: No such file or directory

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51749 --- Comment #2 from Fabio Pedretti 2012-08-09 11:49:05 UTC --- (In reply to comment #1) > Not a problem now, right? Last time I checked (3 weeks ago) compilation failed before this point, see the full log: https://launchpadlibrarian.net/1102347

[Mesa-dev] [Bug 53283] Rendering problems in Sacred with Radeon and Nvidia

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53283 --- Comment #6 from kh3...@yandex.ru 2012-08-09 09:45:37 UTC --- Created attachment 65336 --> https://bugs.freedesktop.org/attachment.cgi?id=65336 Xorg log radeon -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email -

[Mesa-dev] [Bug 53283] Rendering problems in Sacred with Radeon and Nvidia

2012-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53283 --- Comment #5 from kh3...@yandex.ru 2012-08-09 09:45:17 UTC --- Created attachment 65335 --> https://bugs.freedesktop.org/attachment.cgi?id=65335 Xorg log nvidia -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email -

  1   2   >