Re: [Mesa3d-dev] GLSL compiler performance

2009-11-13 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sedat Dilek wrote:
> ...or disabling the build of gallium...
> 
> You have some hints on benchmarking?
> Which games? Sample programs to test?

This work doesn't improve the performance of the generated code.  It
improves the performance of (the first part) of generating the code.
With the exception of load time, game performance should be unchanged.
However, test any app the uses GLSL will help test the new parser for bugs.

> On Fri, Nov 13, 2009 at 6:04 PM, Zack Rusin  wrote:
>> On Friday 13 November 2009 06:42:47 Sedat Dilek wrote:
>>> Alternatively use [1] (this commit is not it the glsl-pp-rework-2 GIT
>>>  tree).
>> This really doesn't matter at all for this work, in fact I'd say it's the
>> anti-productive to be bothering with this. The glsl-pp-rework-2 branch is
>> meant for glsl compiler work not be backporting unrelated fixes from head,
>> especially since that that's exactly the effect that the merging it in will
>> have.
>>
>> z
>>
> 
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Mesa3d-dev mailing list
> Mesa3d-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr91UcACgkQX1gOwKyEAw9z6QCfRvLkZq4NYFhLZBdnz6SpuOix
gMoAn1nbZC2RRp2YMwm3YXUv++n45epT
=Acgm
-END PGP SIGNATURE-

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] GLSL compiler performance

2009-11-13 Thread Sedat Dilek
...or disabling the build of gallium...

You have some hints on benchmarking?
Which games? Sample programs to test?

- Sedat -

On Fri, Nov 13, 2009 at 6:04 PM, Zack Rusin  wrote:
> On Friday 13 November 2009 06:42:47 Sedat Dilek wrote:
>> Alternatively use [1] (this commit is not it the glsl-pp-rework-2 GIT
>>  tree).
>
> This really doesn't matter at all for this work, in fact I'd say it's the
> anti-productive to be bothering with this. The glsl-pp-rework-2 branch is
> meant for glsl compiler work not be backporting unrelated fixes from head,
> especially since that that's exactly the effect that the merging it in will
> have.
>
> z
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] GLSL compiler performance

2009-11-13 Thread Zack Rusin
On Friday 13 November 2009 06:42:47 Sedat Dilek wrote:
> Alternatively use [1] (this commit is not it the glsl-pp-rework-2 GIT
>  tree).

This really doesn't matter at all for this work, in fact I'd say it's the 
anti-productive to be bothering with this. The glsl-pp-rework-2 branch is 
meant for glsl compiler work not be backporting unrelated fixes from head, 
especially since that that's exactly the effect that the merging it in will 
have.

z 

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] GLSL compiler performance

2009-11-13 Thread Sedat Dilek
Alternatively use [1] (this commit is not it the glsl-pp-rework-2 GIT tree).

- Sedat -

[1] Mesa (master): xorg/st: fixup builds against later dpms headers.
http://lists.freedesktop.org/archives/mesa-commit/2009-September/012317.html

On Fri, Nov 13, 2009 at 12:05 PM, Sedat Dilek
 wrote:
> Hi,
>
> I read about the new GLSL compiler in [1] and wanted to try out some
> performance tests on (drm-)radeon(-kms).
>
> While trying to compile glsl-pp-rework-2 mesa GIT branch [2] on a
> 32bit Debian/sid host, I got a build-failure like this:
> ...
> ccache gcc -c -I. -I../../../../src/gallium/include
> -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers
> -I/src/gallium/include -I/src/gallium/auxiliary -I/src/gallium/drivers
> -DHAVE_CONFIG_H -I/usr/include/pixman-1 -I/usr/include/xorg
> -I/usr/include/drm   -I../../../../src/gallium/include
> -I../../../../src/gallium/auxiliary -I../../../../include
> -I../../../../src/mesa -I../../../../src/mesa/drivers/dri/common
> -I../../../../src/mesa/main -g -O2 -Wall -Wmissing-prototypes -std=c99
> -ffast-math -fno-strict-aliasing -g  -fPIC  -DUSE_X86_ASM
> -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS
> -DDEBUG -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1
> -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING
> -DHAVE_ALIAS  xorg_dri2.c -o xorg_dri2.o
> In file included from xorg_crtc.c:47:
> /usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token
> /usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'DPMSGetVersion'
> /usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token
> /usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'DPMSSetTimeouts'
> /usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token
> /usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'DPMSEnable'
> /usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'DPMSDisable'
> /usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'DPMSForceLevel'
> /usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'DPMSInfo'
> make[4]: *** [xorg_crtc.o] Error 1
> make[4]: *** Waiting for unfinished jobs
> make[4]: Leaving directory
> `/home/sd/src/mesa/mesa/src/gallium/state_trackers/xorg'
> make[3]: *** [subdirs] Error 1
> make[3]: Leaving directory `/home/sd/src/mesa/mesa/src/gallium/state_trackers'
> make[2]: *** [default] Error 1
> make[2]: Leaving directory `/home/sd/src/mesa/mesa/src/gallium'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/home/sd/src/mesa/mesa/src'
> make: *** [default] Error 1
>
> File "/usr/include/X11/extensions/dpms.h" belongs to libXext package,
> so I strived its GIT repository on fd.o.
>
> IMHO this is the commit [3] fixing that breakage:
>
> "Make library headers compatible with old server builds"
> commit 9f94bf9de7607c11ab82667a73a4160d705e355c
>
> After having debianized latest libXext-from-git, I was able to compile
> mesa/glsl-pp-rework-2.
>
> I just wanna let you know about that issue.
> Thanks for your work.
>
> Kind Regards,
> - Sedat -
>
> [1] http://marc.info/?l=mesa3d-dev&m=125807226008754&w=2
> [2] http://cgit.freedesktop.org/mesa/mesa/log/?h=glsl-pp-rework-2
> [3] 
> http://cgit.freedesktop.org/xorg/lib/libXext/commit/?id=9f94bf9de7607c11ab82667a73a4160d705e355c
>
> P.S.: Additional informations
>
> $ dpkg -S /usr/include/X11/extensions/dpms.h
> libxext-dev: /usr/include/X11/extensions/dpms.h
>
> $ dpkg -l | grep libxext
> ii  libxext-dev
>    2:1.1.1+git20091106.28d16f8-1~dileX+1    X11 miscellaneous
> extensions library (development heade
> ii  libxext6
>    2:1.1.1+git20091106.28d16f8-1~dileX+1    X11 miscellaneous
> extension library
> ii  libxext6-dbg
>    2:1.1.1+git20091106.28d16f8-1~dileX+1    X11 miscellaneous
> extensions library (debug package)
>

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev