[PATCH 3/5] wined3d: Always store the palette index in the alpha component.

Stefan Dösinger stefandoesinger at gmail.com
Tue May 13 06:25:26 CDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 2014-05-13 12:28, schrieb Henri Verbeet:> On 13 May 2014 11:14,
Stefan Dösinger <stefandoesinger at gmail.com> wrote:
>> Not exactly. We load P8 GL textures for the front buffer when 
>> ARB_fragment_program is unsupported (and thus the format in
>> theory is unsupported). So we might end up reading back the
>> texture even though the format table doesn't contain data for
>> P8.
>> 
> So which internal format would be used to create that texture?
internalFormat = GL_RGBA, format = GL_RGBA, type = GL_UNSIGNED_BYTE.
This is set in d3dfmt_get_conv.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTcgElAAoJEN0/YqbEcdMwN74P/AmodlWZ+AyfCPSEWmOFM1OY
XWuhZC/x250E/NpnaNlMMld/GD1RuhCLENLlklhEqMXtVtC6ppDW1X/5tQaWwkl8
T3p/FGAn0WJ/a/pt2NexxrFZ6KkbLJLDeikyOHgsNOwORxvrQtztZwq5vG0cbxro
h/902Ivwq4C5llieu15xFfg8IzrHUaKelD9l7T4rWJTnnom8FbA5iLD6cg+M9x4R
8CeCV7AbJBJ7PblQ5mRRggzNXtwMfBKP4rnv8MFak6IJ3M7WyDmw5ls10GW+2RMH
LzUYD6hc245CL+AylXJ7k75W1Fbaf1A463dbccsHvgKZLf8i/9e8QRYnr1/25jm+
k3iMerQmurMKJ6lhH5vBoMKe1iaMhBFFXzI+FWqrTyfFZuNIu3e4lk0ll95CRE/3
ADVQDO1o8ckwi96vdbSniGUw9losejhEaoNEXRoVmxAZMTPZQfR8h27M3Wq90foN
sPD7dhaP9WOtsXuYqK0nfnyWhiD4qliWAs3BzByeJF2ypljv4KTHWMixbcJYWMrh
/ftMHAdbjhJEORKioYRppXBxMxrj9l39iWOSpyBsfWMaQP5ya2B3Rv0vF3A0WlBB
hIJ56ZfMNQJxrXbsoSLatKCiBe+dOTYIhZDd4cZxiI/FEiOnIUzSrfQ7BHv1Jvs9
RglVQMOoRdSjs6TeKZJ0
=dCUx
-----END PGP SIGNATURE-----



More information about the wine-devel mailing list