[Piglit] [Mesa-dev] [PATCH 1/2] mesa: support internalFormat=GL_BGRA in TexImage2D
Ian Romanick
idr at freedesktop.org
Sat Jan 22 17:46:16 PST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[I'm cross-posting this to the piglit list as well.]
On 01/22/2011 08:42 AM, Benjamin Franzke wrote:
> 2011/1/18 Brian Paul <brian.e.paul at gmail.com>:
>>
>> Before we commit this stuff can you develop a piglit test to test it?
>
> The problem for me is that piglit is GL-only atm. so its not trival to
> write a simple gles2 test-program, as changes to piglit-util would be
> needed.
Yes. This is something that I want to fix sooner rather than later.
The problem is that I don't want to have a huge pile of duplicate test
whose only (source code) difference is including GLES2/gl2.h instead of
GL/gl.h.
What I want is a way with cmake to build files twice. The first time
will be in the existing way. The second time will compile with
- -DUSE_OPENGL_ES and will generate a .o file with a different name. This
is especially important because I want all (or nearly all) ES2 tests to
work with desktop GL when GL_ARB_ES2_compatibility is exposed.
I don't know cmake well enough to do that, and I keep forgetting to ask
Chad.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk07iGgACgkQX1gOwKyEAw8jRgCfU4gl5e7rIkOaR6CDN2SQZXXS
gWsAoJWMGPwtcNB1/QUwJ2bCYv52a9Oj
=OSBO
-----END PGP SIGNATURE-----
More information about the Piglit
mailing list