-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 2013-03-12 18:19, schrieb Stefan Dösinger:
The test program is available at
https://84.112.174.163/~git/perftest file const_gl/const_gl.cpp.
My server is currently turned off (and I should move this to github or
somewhere at some point), so I've attached the test program here for
reference.
Resolution and constant mode are hardcoded into it. Tab/space mixup
thanks to Visual Studio. Compile the Linux version with g++
const_gl.cpp -o const_gl -lGL -lglut -lGLEW .
A d3d version is attached as well. It does not load the same values
when using the global constants, but this doesn't seem to affect
performance.
I haven't tested ARB shaders, but from the WoT results before and
after patch 2, their behavior seems to be the same as GLSL and native d3d.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iQIcBAEBAgAGBQJRP9WcAAoJEN0/YqbEcdMwdmoP/2LvEFpPpmTiZDzxqhp38WfU
DKs2S8m1kP86fL55GwLtth289WC9MsQyOosOVOqt8r3YWZyckeisZyhdP2ez2KRV
9kgxMnEXwzcZBtmm/+nrl0FwJghy86AnZ0YJ9PpnCpY0k4VTQYjaWQALlyqtF+qm
Uup4UE+m4yR4DoNL/u/161Zxh+OLOA8PXEhWWfDozNL/8yMlRfPs6gzLMN/oKTIL
UMA90gesZWPt7/J2Bp0+OeZvMWqNa54A2akxsLvtxVP/rB8baym4iYLn5Y2IPXa2
lBqALc+POMcVk45FCgkzjUw5b/7ck9V5n0PKOw/9Jwrm8/ChHE4i0ZwGEmHzh3So
y1d/KydwesYtyCadmlklgJy1J+CxyCd/fNVUmsNtpzDEo6OF7oEagvwBUlTnCdR9
W9B9lmpsDCuBIxEnAy7C3HEZ18o70HdoUsKe5hX8fVn5lnwFPWdp7hBA0nVbO0y0
Fybps006cQmc0Rm9nHJjeJ9JoGzl/iuSX0AnQ5fiJS6fS5RrrGAnFBEb1g2O879X
pNSIgBdKUSSfGBoUZKKIy+GZzC+VhDm4UqhtSaYudlUB9pcoMDFYRGQ3Rk48kRuD
tJ8Ah2VBYeFUvI+x4Xty9AtOwwFWYejNG+6cNNF3EOALz2JvhFKDEJCI0p7bdmgR
XCfPxQyYN7+JGFw8JiO5
=RgiG
-----END PGP SIGNATURE-----