Re: [Mesa-dev] Mesa build fails with xlib/egl

2010-07-13 Thread Chia-I Wu
On Sun, Jul 11, 2010 at 1:18 AM, Lionel Landwerlin wrote: > Thanks for your response, it worked well. > > I have another question but first I think I need to give some context. > > I'm trying to build an environment on my laptop which mimics what I'm > going to use on an embedded target. What I ex

Re: [Mesa-dev] Mesa build fails with xlib/egl

2010-07-13 Thread Lionel Landwerlin
On Tue, Jul 13, 2010 at 9:40 AM, Chia-I Wu wrote: > On Sun, Jul 11, 2010 at 1:18 AM, Lionel Landwerlin > wrote: >> Thanks for your response, it worked well. >> >> I have another question but first I think I need to give some context. >> >> I'm trying to build an environment on my laptop which mim

Re: [Mesa-dev] Mesa build fails with xlib/egl

2010-07-13 Thread Chia-I Wu
On Tue, Jul 13, 2010 at 4:25 PM, Lionel Landwerlin wrote: > On Tue, Jul 13, 2010 at 9:40 AM, Chia-I Wu wrote: >> On Sun, Jul 11, 2010 at 1:18 AM, Lionel Landwerlin >> wrote: >>> Thanks for your response, it worked well. >>> >>> I have another question but first I think I need to give some contex

Re: [Mesa-dev] [PATCH] dri/r300: test for FEATURE defines

2010-07-13 Thread Chia-I Wu
On Tue, Jul 13, 2010 at 9:57 AM, nobled wrote: > Fixes a fatal build error when compiling just OpenGL ES libraries, since > FEATURE_EXT_framebuffer_blit is disabled then, so the BlitFramebuffer > member doesn't exist. Is this change enough to make dri_r300 function as a GLES only driver? To be ho

[Mesa-dev] demos / glew configure bug

2010-07-13 Thread Brian Paul
I'm setting up the Mesa demos repo on a new system. autogen.sh fails because it can't find GLEW. I think autogen is looking for GLEW in /usr/include/GL/ and /usr/lib/libGLEW.a instead of using the copy of GLEW in the demos tree itself. Dan, can you fix that? $ ./autogen.sh [...] checking

Re: [Mesa-dev] demos / glew configure bug

2010-07-13 Thread Brian Paul
On 07/13/2010 08:07 AM, Brian Paul wrote: I'm setting up the Mesa demos repo on a new system. autogen.sh fails because it can't find GLEW. I think autogen is looking for GLEW in /usr/include/GL/ and /usr/lib/libGLEW.a instead of using the copy of GLEW in the demos tree itself. Dan, can you fix

[Mesa-dev] [Bug 28790] Improve OpenGL ES 2.0 gears demo

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28790 Alexandros Frantzis changed: What|Removed |Added Attachment #36572|0 |1 is obsolete|

[Mesa-dev] [Bug 29044] New: GLSL compiler tracker

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29044 Summary: GLSL compiler tracker Product: Mesa Version: git Platform: All OS/Version: All Status: NEW Severity: normal Priority: medium Component: Mesa core

[Mesa-dev] [Bug 29044] GLSL compiler tracker

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29044 Ian Romanick changed: What|Removed |Added Depends on||28913, 28839, 28837, 28833,

[Mesa-dev] [Bug 28913] [GLSL] allowing two version statements

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28913 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 29044] GLSL compiler tracker

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29044 Ian Romanick changed: What|Removed |Added Depends on||27914, 27403, 27388, 27349,

[Mesa-dev] [Bug 10908] GLSL: gl_FogParamaters gl_Fog built-in uniform not functioning

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=10908 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 13753] Numerous bugs in GLSL uniform handling

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=13753 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 16854] GLSL function call at global scope causes SEGV

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=16854 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 16856] GLSL indexing of unsized array results in assertion failure

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=16856 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 18659] Crash in shader/slang/slang_codegen.c _slang_gen_function_call_name()

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=18659 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 21867] Feature request: Configurable pixel origin

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=21867 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 24553] shader compilation times explode when using more () pairs

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=24553 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 25994] [i915][GLSL] 'return' statement in vertex shader may cause GPU hang

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25994 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 26224] [GLSL] Cannot get location of a uniform struct member

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26224 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 27261] GLSL Compiler fails on the following vertex shader

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27261 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 27265] GLSL Compiler doesnt link the attached vertex shader

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27265 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 27286] Mod function returns wrong value

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27286 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

[Mesa-dev] [Bug 27403] GLSL struct causing "Invalid src register file ..." error

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27403 Ian Romanick changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs

Re: [Mesa-dev] [Bug 29044] New: GLSL compiler tracker

2010-07-13 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 bugzilla-dae...@freedesktop.org wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=29044 > >Summary: GLSL compiler tracker >Product: Mesa >Version: git > Platform: All > OS/Version: All >

Re: [Mesa-dev] Merging mesa-2d-registers

2010-07-13 Thread Brian Paul
On 07/12/2010 09:23 PM, Zack Rusin wrote: Hey, this is relatively simple: Mesa GPU instructions had no way of representing 2D register arrays which was especially painful for things like geometry shaders. It's the same thing Gallium supported for a while meaning INPUT[index1][index2] syntax. So

[Mesa-dev] [Bug 29044] GLSL compiler tracker

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29044 Alex Deucher changed: What|Removed |Added Depends on|27219 | -- Configure bugmail: https://bugs.free

[Mesa-dev] [Bug 29044] GLSL compiler tracker

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29044 Ian Romanick changed: What|Removed |Added Depends on||27216 -- Configure bugmail: https://bugs

Re: [Mesa-dev] Bug in _mesa_meta_GenerateMipmap

2010-07-13 Thread Maciej Cencora
Dnia poniedziałek 12 lipca 2010 o 23:32:37 Brian Paul napisał(a): > Maciej Cencora wrote: > > Dnia poniedziałek 12 lipca 2010 o 20:31:42 Brian Paul napisał(a): > >> Maciej Cencora wrote: > >>> Hi, > >>> > >>> while working on failing piglit tests I've stumbled on a problem with > >>> _mesa_meta_Ge

[Mesa-dev] [ANNOUNCE] mesa-demos 8.0.1

2010-07-13 Thread glisse
Stable release of mesa-demos Basic documentation and dat file to dist tarball so various example could work. Brian Paul (2): add dissolve to Makefile.am index.html - some basic documentation for this stuff Jerome Glisse (3): demos: add dat file to extra dist bezier: use g

Re: [Mesa-dev] [PATCH] dri/r300: test for FEATURE defines

2010-07-13 Thread Corbin Simpson
On Tue, Jul 13, 2010 at 3:12 AM, Chia-I Wu wrote: > On Tue, Jul 13, 2010 at 9:57 AM, nobled wrote: >> Fixes a fatal build error when compiling just OpenGL ES libraries, since >> FEATURE_EXT_framebuffer_blit is disabled then, so the BlitFramebuffer >> member doesn't exist. > Is this change enough

[Mesa-dev] mesa-demos licensing/copying file

2010-07-13 Thread Jerome Glisse
In order to clarify the licensing of mesa-demos i propose to add the attach copying file. I simply cut/paste the MIT license preserving the close forbidding use of silicon graphics in advertising for the software. I am not a lawyer or anythings close to that so let me know if i did somethings wro

[Mesa-dev] Optimizations in mesa shader compiler

2010-07-13 Thread Segovia, Benjamin
Hello all, I just looked at the (intermediate) code produced by the shader compiler. In the last version, I did not find anything on constant propagation and constant computations. In the Intel current driver, the final gen code produces an ugly sequence of computations of constant values (know

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

2010-07-13 Thread Segovia, Benjamin
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; const float rad_angle = angle*PI/180.0; vec4 a = gl_Vertex; vec4 b = a; b.x

Re: [Mesa-dev] Merging mesa-2d-registers

2010-07-13 Thread Zack Rusin
On Tuesday 13 July 2010 12:08:15 Brian Paul wrote: > Looks great, Zack! > > Just minor things: > > A bunch of the shader setup code in bezier.c could probably be > replaced by calls to shaderutil.c functions. Ah, yea, I'll just add something there to be able to link with geometry shader. > In

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

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29052 Summary: [egl] eglGetConfigs should return num of available configs when parameter configs = NULL Product: Mesa Version: git Platform: Other OS/Version: All Status:

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

2010-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29052 --- Comment #1 from Shuang He 2010-07-13 18:59:58 PDT --- Created an attachment (id=37008) View: https://bugs.freedesktop.org/attachment.cgi?id=37008 Review: https://bugs.freedesktop.org/review?bug=29052&attachment=37008 Seems this patch works

Re: [Mesa-dev] Merging mesa-2d-registers

2010-07-13 Thread Jakob Bornecrantz
On Tue, Jul 13, 2010 at 6:47 PM, Zack Rusin wrote: > On Tuesday 13 July 2010 12:08:15 Brian Paul wrote: >> Looks great, Zack! >> >> Just minor things: >> >> A bunch of the shader setup code in bezier.c could probably be >> replaced by calls to shaderutil.c functions. > > Ah, yea, I'll just add som

Re: [Mesa-dev] Merging mesa-2d-registers

2010-07-13 Thread Zack Rusin
On Tuesday 13 July 2010 22:54:08 Jakob Bornecrantz wrote: > I'm wondering how this relate to tgsi_src_register::Indirect ("MOV > TEMP[0], TEMP[CONST.x]")? Well, not too much. Indirection is a method of indexing, while this is about dimensionality of the registers or in particular adding support