[PATCH 4/7] wined3d: Initialize unwritten texcoord varyings in the VS.

Stefan Dösinger stefandoesinger at gmail.com
Mon Oct 5 09:12:19 CDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am 2015-10-05 um 13:01 schrieb Henri Verbeet:
> Does that include partially written coordinates? I'm fairly sure
> there were applications that cared about this. It may have been
> Half-Life 2 (which is probably totally different today) or some
> other Source Engine game. Maybe Stefan remembers. I suppose we
> could also just try if anything breaks if we change it, although in
> that case we could get rid of WINED3D_QUIRK_SET_TEXCOORD_W as
> well.
That problem was about the fixed function pipeline. A vertex shader
wrote a partial texcoord, and fixed fucntion fragment processing was
used. Normally GL always divides by .w, so it caused problems. ARBfp,
GLSL and ATIfs can disable the .w divide, so the undefined content in
.w doesn't matter.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWEoVDAAoJEN0/YqbEcdMwr9cP/j4qmjBn4VRO0mrfy7HpIPr2
sVziLdnMNE1cylxqjOP1zFEfoejM12ubsRvszeNnl8Gswj369ERWTo4YBHB3FUX5
h2WhWpMyj/mPfUtu+pBcpinTN/F+HlnPzpS9HtukSTZkq1UQJ8hnwmItURHYGdSI
Pa397h+GWNl5RIYninFI1swyER3rkpfszVAQ9/TtZBVv1dTlA7XvIvuyuJrM+vDN
spT8mRldlvk2FLXg3oUg9fCQrZ/X0Ji8f1h34fWpERNLa5Iwebv68D5Tj0Y6Kyz1
oamYVIPsr0b9xNbyS1HoOYAJs2gT+CNAxvhvF0k8Eochclli+qo74WHcJfBv5v1h
aH4I3fcdFTVNK3TQKU0ePYu4XG6HMrwJ6kYqqf1R4PWP4j0OBoPJoUNgZ5Biepp+
ZaEs1GRUU9lmBlT7R6qau9KLFuHLi6ZQAHPVPSzbo9mprnFNUKHCstRl76wi6s8I
tZNIeuzshhVi1TNquCQMhFL15Nf7O87Uq/Iqrq9F8lzKXqOP9CMreioSfKtJ3GgK
p8su6/fUwX6ZYDGL5sD8V5bUrn+DP8h7XQiO1vLpavN0kyi/uJ8G52qyHvvxFGVh
eXuaiH1308ipVWvRsGzRI64wv4GNlrQ2Lgi50qkIid4UjvDS3UlFMCxcWDRIDNX6
oXyk5FWsCAojmbF4p78R
=I8AB
-----END PGP SIGNATURE-----



More information about the wine-devel mailing list