[Mesa-dev] [PATCH] cleanup radeon shared code after r300 and r600 classic drivers removal

2011-11-06 Thread Fabio Pedretti
Only compile tested.diff -purN mesa-7.12_//include/pci_ids/r600_pci_ids.h mesa-7.12/include/pci_ids/r600_pci_ids.h --- mesa-7.12_//include/pci_ids/r600_pci_ids.h 2011-07-18 11:48:14.0 +0200 +++ mesa-7.12/include/pci_ids/r600_pci_ids.h 2011-11-05 21:02:52.799146824 +0100 @@ -205,7 +205,6 @@

[Mesa-dev] [Bug 42645] Graphics issues on BZFlag 2.4.0 with i915g (gallium)

2011-11-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42645 Christian Inci changed: What|Removed |Added AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.

[Mesa-dev] [Bug 42651] New: NULL function pointer called in driCreateNewScreen with KMS disabled

2011-11-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42651 Bug #: 42651 Summary: NULL function pointer called in driCreateNewScreen with KMS disabled Classification: Unclassified Product: Mesa Version: 7.9 Platform: x86 (IA32)

Re: [Mesa-dev] [PATCH 1/2] mesa: add missing checks to compute_version

2011-11-06 Thread Kenneth Graunke
On 11/04/2011 05:42 PM, Marek Olšák wrote: > --- > src/mesa/main/version.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) For this patch: Reviewed-by: Kenneth Graunke (sorry, haven't looked at the other one) ___ mesa-dev mailing list

[Mesa-dev] [Bug 42649] New: OpenVG's VGfont not work.

2011-11-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42649 Bug #: 42649 Summary: OpenVG's VGfont not work. Classification: Unclassified Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW S

Re: [Mesa-dev] [PATCH 1/2] mesa: add missing checks to compute_version

2011-11-06 Thread Eric Anholt
On Sat, 5 Nov 2011 01:42:40 +0100, Marek Olšák wrote: > --- > src/mesa/main/version.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c > index 17c0600..49cdc30 100644 > --- a/src/mesa/main/version.c > +++ b/src/m

Re: [Mesa-dev] [PATCH 3/3] swrast: map/unmap attachments, not renderbuffers in glReadPixels

2011-11-06 Thread Eric Anholt
On Sat, 5 Nov 2011 13:15:41 -0600, Brian Paul wrote: > Most drivers have been creating fake/wrapper renderbuffers when a > texture image is attached to an FBO. But that's not a requirement > of core Mesa. > > So an FBO attachment that points into a texture may not have a > (fake) renderbuffer.

Re: [Mesa-dev] [PATCH 1/3] mesa: remove unneeded soft renderbuffer format-setting code

2011-11-06 Thread Eric Anholt
On Sat, 5 Nov 2011 13:15:39 -0600, Brian Paul wrote: > These vars will just get overwritten when we call _mesa_add_renderbuffer() > anyway. We only need to set the InternalFormat field when we create the > software renderbuffer. Reviewed-by: Eric Anholt pgpjtWhKenf9y.pgp Description: PGP sig

Re: [Mesa-dev] [PATCH] util: add log2f for Android

2011-11-06 Thread Jose Fonseca
I have no objection. The only thing that I know we could do to improve this situation is to factor out the compiler/os/crt abstractions out of mesa/gallium/etc into a shared library. I brought and been wanting to do this for a long time, but just haven't been able to find opportunity (because i

[Mesa-dev] [PATCH] Fix memory leaks and some bad indentation

2011-11-06 Thread Morgan Armand
--- src/gallium/drivers/softpipe/sp_state_derived.c |5 - src/gallium/drivers/softpipe/sp_state_shader.c |3 +++ src/mesa/state_tracker/st_atom_texture.c| 11 +-- src/mesa/state_tracker/st_cb_drawpixels.c | 10 +- 4 files changed, 17 insertions(+), 12

Re: [Mesa-dev] [PATCH] llvmpipe: fix typo in the depth sampling aos code.

2011-11-06 Thread Jose Fonseca
Good catch! Thanks. Jose - Original Message - > From: Dave Airlie > > Just found by reading llvmpipe code for no great reason. > > Signed-off-by: Dave Airlie > --- > src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > d

Re: [Mesa-dev] [PATCH 1/2] u_format: fix RGTC support in fits 8unorm.

2011-11-06 Thread Jose Fonseca
Make sense. The same goes for PIPE_FORMAT_LATC1_SNORM and PIPE_FORMAT_LATC1_SNORM I suppose. Jose - Original Message - > From: Dave Airlie > > Signed RGTC won't fit in a unorm, so don't allow them. > > Signed-off-by: Dave Airlie > --- > src/gallium/auxiliary/util/u_format.c |7 +

[Mesa-dev] [PATCH] util: add log2f for Android

2011-11-06 Thread Chia-I Wu
From: Chia-I Wu It is needed for nv50's new shader backend. With this change, both u_math.h and imports.h in core mesa define the same function. I have to #undef log2f here to avoid the conflict. Not sure if there is a better way to deal with the situation. --- src/gallium/auxiliary/util/u_ma

[Mesa-dev] [PATCH] llvmpipe: fix typo in the depth sampling aos code.

2011-11-06 Thread Dave Airlie
From: Dave Airlie Just found by reading llvmpipe code for no great reason. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c b/src/gallium

[Mesa-dev] [PATCH 1/2] u_format: fix RGTC support in fits 8unorm.

2011-11-06 Thread Dave Airlie
From: Dave Airlie Signed RGTC won't fit in a unorm, so don't allow them. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/util/u_format.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/util/u_format.c b/src/gallium/auxiliary/util/u_for

[Mesa-dev] [PATCH 2/2] llvmpipe: enable RGTC after u_format fix.

2011-11-06 Thread Dave Airlie
From: Dave Airlie The two piglit tests pass + render correctly. Signed-off-by: Dave Airlie --- src/gallium/drivers/llvmpipe/lp_screen.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_scree

Re: [Mesa-dev] [PATCH] softpipe: don't clamp or do logical operations on floating-point buffers.

2011-11-06 Thread Corbin Simpson
Oh, okay. And we want to do this for Gallium as well, not GL? If somebody else acks this, I'll merge it, but I am not super-up-to-date on FP buffer trickery. Sending from a mobile, pardon my terseness. ~ C. On Nov 6, 2011 6:21 AM, "Morgan Armand" wrote: > Unless I'm missing something, no there

Re: [Mesa-dev] [PATCH] softpipe: don't clamp or do logical operations on floating-point buffers.

2011-11-06 Thread Morgan Armand
Unless I'm missing something, no there is no ROPs defined for floating points operands. The ARB_color_buffer_float specification says: 36. Should logical operations be disabled for floating-point color buffers? RESOLVED: Yes. This matches the behavior in the ATI specification. Besides that

Re: [Mesa-dev] [PATCH] softpipe: don't clamp or do logical operations on floating-point buffers.

2011-11-06 Thread Corbin Simpson
It's entirely possible that I'm still asleep, but what problem does this solve? Are ROPs not defined for FP operands? Sending from a mobile, pardon my terseness. ~ C. On Nov 6, 2011 4:31 AM, "Morgan Armand" wrote: > --- > src/gallium/drivers/softpipe/sp_quad_blend.c | 78 > ++-

Re: [Mesa-dev] Mesa (master): u_blitter: add a copy_texture function which uses views and not resources

2011-11-06 Thread Marek Olšák
Hi Stéphane, The patch changes how mipmap levels are accessed. Previously, a sampler state was created that had min_lod == max_lod == lod_bias == the desired mipmap level. Now the sampler state has min_lod == max_lod == 0, and the first_level and last_level fields of pipe_sampler_view and the "lev

[Mesa-dev] [PATCH] softpipe: don't clamp or do logical operations on floating-point buffers.

2011-11-06 Thread Morgan Armand
--- src/gallium/drivers/softpipe/sp_quad_blend.c | 78 ++--- 1 files changed, 56 insertions(+), 22 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_quad_blend.c b/src/gallium/drivers/softpipe/sp_quad_blend.c index 598df26..4813ada 100644 --- a/src/gallium/drivers/s

Re: [Mesa-dev] [PATCH] st/dri: Fix memory leak on error path.

2011-11-06 Thread Jose Fonseca
Both patches look good to me. Thanks Vinson. Jose - Original Message - > Fixes Coverity resource leak defect. > --- > src/gallium/state_trackers/dri/drm/dri2.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/src/gallium/state_trackers/dri/drm/dri2.c > b/

Re: [Mesa-dev] [PATCH 1/4] state_trackers/vdpau: Implement VdpGenerateCSCMatrix

2011-11-06 Thread Maarten Lankhorst
Hey Christian, On 10/31/2011 11:00 AM, Christian König wrote: > On 31.10.2011 10:23, Maarten Lankhorst wrote: >> With the smpte240 profile, which was missing. >> >> Signed-off-by: Maarten Lankhorst >> --- >> src/gallium/auxiliary/vl/vl_csc.c| 19 +++ >> src/gallium/aux

[Mesa-dev] [Bug 42628] [llvmpipe] SIGFPE Crash

2011-11-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42628 José Fonseca changed: What|Removed |Added AssignedTo|mesa-dev@lists.freedesktop. |jfons...@vmware.com |or

[Mesa-dev] [Bug 42610] [PATCH] gallivm: build failure due to llvm-trunk api change.

2011-11-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42610 José Fonseca changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 42610] [PATCH] gallivm: build failure due to llvm-trunk api change.

2011-11-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42610 José Fonseca changed: What|Removed |Added CC||o...@ojab.ru --- Comment #1 from José Fon

[Mesa-dev] [Bug 42623] Fix build with llvm-3.0/svn

2011-11-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42623 José Fonseca changed: What|Removed |Added Status|NEW |RESOLVED Resolution|