[Mesa-dev] r300 compiler: presubract branch

2010-07-19 Thread Tom Stellard
Hi, I've just pushed a branch called presub to my git repo: http://cgit.freedesktop.org/~tstellar/mesa/ This branch contains support for presubtract operations in the r300 compiler. The only operation that is currently being used is (1 - src0), but I'll be adding the other ones later. This is on

[Mesa-dev] [Bug 29163] New: [glsl2] glean/shaderAPI fail

2010-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29163 Summary: [glsl2] glean/shaderAPI fail Product: Mesa Version: git Platform: All OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Compon

Re: [Mesa-dev] [PATCH] Better GPU program optimization in Mesa front end

2010-07-19 Thread Tom Stellard
On Mon, Jul 19, 2010 at 04:01:02PM -0700, Benjamin Segovia wrote: > - Improved optimization of GPU programs. Now, swizzling is taken into account > and swizzles are properly transformed while removing mov instructions. > Removals of mov instructions are now much more effective > > - Analysis o

Re: [Mesa-dev] 2D/3D direct rendering platform in vxWorks 6.7

2010-07-19 Thread Corbin Simpson
On Mon, Jul 19, 2010 at 1:32 PM, joshua he wrote: > We successfully launch 3D direct rendering platform in vxworks 6.7, support > OpenGL 2.1 > hardware platform supoorts: >   1. X86 + M22, M54 GPU >   2. loogson MIPS 2F + M54: the performance in loogson MIPS is awsome >   3d texture (256X256X2

[Mesa-dev] [Bug 29052] [egl] eglGetConfigs should return num of available configs when parameter configs = NULL

2010-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29052 Shuang He changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #5 from Shuang He 2010

[Mesa-dev] [Bug 29052] [egl] eglGetConfigs should return num of available configs when parameter configs = NULL

2010-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29052 Shuang He changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] Optimizations in mesa shader compiler

2010-07-19 Thread Segovia, Benjamin
I have now a pending patch for the front end. Two or three extra things may also be easily done but I prefer to wait remarks from people rather proposing a bigger patch with a higher probability to require modifications :) I am planning to look at the i965 back end. I saw that there are several

Re: [Mesa-dev] [PATCH] r600: Flip point sprite coordinates when rendering to an FBO.

2010-07-19 Thread Dave Airlie
On Tue, Jul 20, 2010 at 7:27 AM, Henri Verbeet wrote: > On 19 July 2010 23:13, Matt Turner wrote: >> I can't speak to the meaning of this change, but the use of ^ and !! >> is just an abuse of the language. >> >> ^ is binary XOR. Logical XOR is !=. >> >> Let's write this like >>    if ((ctx->Poin

[Mesa-dev] [PATCH] Better GPU program optimization in Mesa front end

2010-07-19 Thread Benjamin Segovia
- Improved optimization of GPU programs. Now, swizzling is taken into account and swizzles are properly transformed while removing mov instructions. Removals of mov instructions are now much more effective - Analysis of control flows is still very primitive and far more too conservative. Sha

Re: [Mesa-dev] libgl-git-gallium compilation error!

2010-07-19 Thread Brian Paul
On 07/19/2010 03:13 PM, Lee Fallat wrote: Hello, today I tried compiling libgl-git-gallium from AUR (ArchLinux User Repository), and there seems to be a compilation error...Could someone point me to how I should go about fixing this?...It's source is from July 6(?) of this year (2010), just incas

Re: [Mesa-dev] [PATCH] r600: Flip point sprite coordinates when rendering to an FBO.

2010-07-19 Thread Henri Verbeet
On 19 July 2010 23:13, Matt Turner wrote: > I can't speak to the meaning of this change, but the use of ^ and !! > is just an abuse of the language. > > ^ is binary XOR. Logical XOR is !=. > > Let's write this like >    if ((ctx->Point.SpriteOrigin == GL_LOWER_LEFT) != > (ctx->DrawBuffer->Name !=

[Mesa-dev] libgl-git-gallium compilation error!

2010-07-19 Thread Lee Fallat
Hello, today I tried compiling libgl-git-gallium from AUR (ArchLinux User Repository), and there seems to be a compilation error...Could someone point me to how I should go about fixing this?...It's source is from July 6(?) of this year (2010), just incase that has an impact on the solutio

Re: [Mesa-dev] [PATCH] r600: Flip point sprite coordinates when rendering to an FBO.

2010-07-19 Thread Matt Turner
On Mon, Jul 19, 2010 at 4:50 PM, Henri Verbeet wrote: > --- >  src/mesa/drivers/dri/r600/r700_fragprog.c |    4 +++- >  1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/src/mesa/drivers/dri/r600/r700_fragprog.c > b/src/mesa/drivers/dri/r600/r700_fragprog.c > index bf17a97..fa0189

Re: [Mesa-dev] [PATCH] st/mesa: implement depth texture modes

2010-07-19 Thread Marek Olšák
Also, this is probably NOT a candidate for the 7.8 branch, because it leverages the sampler view swizzling code implemented by Dave Airlie for EXT_texture_swizzle (a 7.9 feature). -Marek On Mon, Jul 19, 2010 at 10:53 PM, Marek Olšák wrote: > Hi, > > the attached patch implements depth texture m

[Mesa-dev] [PATCH] st/mesa: implement depth texture modes

2010-07-19 Thread Marek Olšák
Hi, the attached patch implements depth texture modes which have been missing in st/mesa since ever. It works with both software pipes and r300g, so it should be ok. Please review. -Marek From 209f91d0f74279cea42bf6f34b39720f5052e1fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A

[Mesa-dev] [PATCH] r600: Remove some unused code.

2010-07-19 Thread Henri Verbeet
--- src/mesa/drivers/dri/r600/r700_assembler.c | 119 src/mesa/drivers/dri/r600/r700_assembler.h | 10 --- src/mesa/drivers/dri/r600/r700_shader.c| 41 -- src/mesa/drivers/dri/r600/r700_shader.h|1 - 4 files changed, 0 insertions(+), 171 deleti

[Mesa-dev] [PATCH] r600: Flip point sprite coordinates when rendering to an FBO.

2010-07-19 Thread Henri Verbeet
--- src/mesa/drivers/dri/r600/r700_fragprog.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/r600/r700_fragprog.c b/src/mesa/drivers/dri/r600/r700_fragprog.c index bf17a97..fa01890 100644 --- a/src/mesa/drivers/dri/r600/r700_fragprog.c +++ b/src/m

Re: [Mesa-dev] Optimizations in mesa shader compiler

2010-07-19 Thread Eric Anholt
On Tue, 13 Jul 2010 16:46:21 -0700, "Segovia, Benjamin" wrote: > To be more precise, > - The shader compiler present in src/mesa/slang is used. > > - The glsl shader (randomly taken on the net) is: > void main(){ > const float PI = 3.14159265358979323846264; > const float angle = 45.0; > c

[Mesa-dev] 2D/3D direct rendering platform in vxWorks 6.7

2010-07-19 Thread joshua he
We successfully launch 3D direct rendering platform in vxworks 6.7, support OpenGL 2.1 hardware platform supoorts: 1. X86 + M22, M54 GPU 2. loogson MIPS 2F + M54: the performance in loogson MIPS is awsome 3d texture (256X256X256) can run upto 140FPS at 1600X1200 full screen geartrai

[Mesa-dev] [Bug 27512] Illegal instruction _mesa_x86_64_transform_points4_general

2010-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27512 Chris Wilson changed: What|Removed |Added Component|Drivers/DRI/i915|Mesa core AssignedTo|e...@anholt.

[Mesa-dev] [Bug 29148] KWin segfaults when OpenGL desktop effects are enabled

2010-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29148 --- Comment #1 from Alain Perrot 2010-07-19 06:51:29 PDT --- Another stack trace: Application: KWin (kwin), signal: Segmentation fault [Current thread is 1 (Thread 0x7f85137b1780 (LWP 1561))] Thread 2 (Thread 0x7f84f60a2710 (LWP 1623)): #0 0x

Re: [Mesa-dev] [PATCH] st/mesa: fix FRAMEBUFFER_UNSUPPORTED with the D24S8 format

2010-07-19 Thread Brian Paul
On 07/19/2010 07:47 AM, Brian Paul wrote: On 07/17/2010 02:50 PM, Marek Olšák wrote: Hi, the attached patch attempts to fix bogus reports of GL_FRAMEBUFFER_UNSUPPORTED when there is a D24S8 texture attached as both depth and stencil attachments. The problem is such a renderbuffer is of GL_TEXTU

Re: [Mesa-dev] [PATCH] st/mesa: fix FRAMEBUFFER_UNSUPPORTED with the D24S8 format

2010-07-19 Thread Brian Paul
On 07/17/2010 02:50 PM, Marek Olšák wrote: Hi, the attached patch attempts to fix bogus reports of GL_FRAMEBUFFER_UNSUPPORTED when there is a D24S8 texture attached as both depth and stencil attachments. The problem is such a renderbuffer is of GL_TEXTURE type which has not been handled properly

[Mesa-dev] [Bug 29148] New: KWin segfaults when OpenGL desktop effects are enabled

2010-07-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29148 Summary: KWin segfaults when OpenGL desktop effects are enabled Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal

[Mesa-dev] Unified pipe_context::draw_vbo thoughts

2010-07-19 Thread Chia-I Wu
[change the subject because of typo and it is not about the patch] On Sun, Jul 18, 2010 at 7:31 PM, Keith Whitwell wrote: > If we're reorganising these interfaces, there are a couple of things I'd > like to see done differently.  In particular, within your draw_info > struct there are a couple of