[Mesa-dev] [Bug 44701] Regnum online textures flickering

2012-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44701 Kenneth Graunke changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 41152] [glsl] Shader backend in Regnum Online does not work

2012-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41152 --- Comment #1 from Kenneth Graunke 2012-02-17 15:33:32 UTC --- I've just pushed a workaround to the VBO module to make it ignore invalid out-of-bounds ranges in glDrawRangeElements, which should fix a lot of models flickering in and out of vie

[Mesa-dev] [Bug 40361] Glitches on X3100 after upgrade to 7.11

2012-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40361 Kenneth Graunke changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] [PATCH 2/3] gallivm: add uint to float arit function.

2012-02-17 Thread Jose Fonseca
Note that SSE doesn't have vectorized UI to FP. Only SI to FP. At one point LLVM was breaking down the conversion to scalar, which is overkill. I think that since I look at it, LLVM has been updated to generate better code. Please take a look generated assembly for LLVMBuildUIToFP before commiti

Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-17 Thread Jose Fonseca
Dave, Ideally there should be only one lp_build_mod() which will invoke LLVMBuildSRem or LLVMBuildURem depending on the value of bld->type.sign. The point being that this allows the same code generation logic to seemingly target any type without having to worry too much which target it is targ

Re: [Mesa-dev] [PATCH] i965: handle gl_PointCoord for Gen4 and Gen5 platform

2012-02-17 Thread Eric Anholt
On Fri, 17 Feb 2012 16:09:37 +0800, Yuanhan Liu wrote: > This patch add the support of gl_PointCoord gl builtin var for platform > gen4 and gen5(ILK). > > We can get the point start coord and the current pixel coord, and the > only left element needed is the point size. Thus I wrote another simp

Re: [Mesa-dev] [PATCH] i915: Initialize swrast_texture_image structure fields.

2012-02-17 Thread Eric Anholt
On Thu, 16 Feb 2012 22:57:32 -0800, Paul Berry wrote: > Commit 980f6f1 (mesa: move gl_texture_image::Width/Height/DepthScale > fields to swrast) moved the initialization of the Width, Height, and > DepthScale fields to _swrast_alloc_texture_image_buffer(). However, > i915 doesn't call this functi

Re: [Mesa-dev] [PATCH 1/3] gallivm: add bitarit xor and not ops.

2012-02-17 Thread Brian Paul
On 02/17/2012 12:02 PM, Dave Airlie wrote: From: Dave Airlie Signed-off-by: Dave Airlie --- src/gallium/auxiliary/gallivm/lp_bld_bitarit.c | 42 src/gallium/auxiliary/gallivm/lp_bld_bitarit.h |5 +++ 2 files changed, 47 insertions(+), 0 deletions(-) diff --git

[Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-17 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- src/gallium/auxiliary/gallivm/lp_bld_arit.c | 28 +++ src/gallium/auxiliary/gallivm/lp_bld_arit.h | 10 + 2 files changed, 38 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_ari

[Mesa-dev] [PATCH 1/3] gallivm: add bitarit xor and not ops.

2012-02-17 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- src/gallium/auxiliary/gallivm/lp_bld_bitarit.c | 42 src/gallium/auxiliary/gallivm/lp_bld_bitarit.h |5 +++ 2 files changed, 47 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_bitari

[Mesa-dev] [PATCH 2/3] gallivm: add uint to float arit function.

2012-02-17 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- src/gallium/auxiliary/gallivm/lp_bld_arit.c | 15 +++ src/gallium/auxiliary/gallivm/lp_bld_arit.h |4 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_arit.c b/src/galliu

Re: [Mesa-dev] [PATCH] llvmpipe: Don't assume vector is 4 wide in lp_build_sin()/lp_build_cos()

2012-02-17 Thread Dave Airlie
On Fri, Feb 17, 2012 at 4:23 PM, wrote: > From: José Fonseca Seems correct to me. Reviewed-by: Dave Airlie > > --- >  src/gallium/auxiliary/gallivm/lp_bld_arit.c |  141 +++--- >  1 files changed, 60 insertions(+), 81 deletions(-) > > diff --git a/src/gallium/auxiliary/gal

[Mesa-dev] [PATCH] llvmpipe: Don't assume vector is 4 wide in lp_build_sin()/lp_build_cos()

2012-02-17 Thread jfonseca
From: José Fonseca --- src/gallium/auxiliary/gallivm/lp_bld_arit.c | 141 +++--- 1 files changed, 60 insertions(+), 81 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_arit.c b/src/gallium/auxiliary/gallivm/lp_bld_arit.c index a15dcb0..d379593 100644 --- a/sr

[Mesa-dev] [Bug 46082] piglit ext_texture_integer-api-teximage regression

2012-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46082 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] [PATCH 3/3] gallium/cso: kill off non-functional shader caching

2012-02-17 Thread Jose Fonseca
- Original Message - > Suggested by José. > --- > src/gallium/auxiliary/cso_cache/cso_cache.c | 24 - > src/gallium/auxiliary/cso_cache/cso_cache.h | 16 > src/gallium/auxiliary/cso_cache/cso_context.c | 118 > - > src/gallium/auxiliary/cso_cach

[Mesa-dev] [Patch 2] wayland-drm: export wayland-drm-client-protocol.h for installation

2012-02-17 Thread Zhao, Halley
Besides graphics, other modules (like video/camera) also depends on drm for buffer management. So wayland drm protocol header file should be exported. See Benjamin's work to enable libva for wayland: http://cgit.freedesktop.org/~bnf/libva/log/?h=wayland (I ported it to latest wayland api) With

[Mesa-dev] [PATCH 1] wayland-egl: Add api to get window/pixmap attributes

2012-02-17 Thread Zhao, Halley
wl_egl_window/wl_egl_pixmap are implemented in mesa, however these drawables can also be update in video/camera modules. An example is that libva also manage buffer object for it, so the attributes of the drawable should be accessed outside of mesa. See Benjamin's work to enable libva for wayland

[Mesa-dev] [PATCH] i965: handle gl_PointCoord for Gen4 and Gen5 platform

2012-02-17 Thread Yuanhan Liu
This patch add the support of gl_PointCoord gl builtin var for platform gen4 and gen5(ILK). We can get the point start coord and the current pixel coord, and the only left element needed is the point size. Thus I wrote another simple SF routine for that. Bugzilla: https://bugs.freedesktop.org/sho