[1/2] wined3d: Set D3DPMISCCAPS_FOGVERTEXCLAMPED flag in get_device_caps

Stefan Dösinger stefandoesinger at gmail.com
Wed Oct 29 08:09:20 CDT 2014


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

Am 2014-10-29 13:31, schrieb Henri Verbeet:
> Having less shader instructions is a good thing, although clamps
> tend to be pretty cheap. But to me it seems a little shaky to
> justify this based only on the fact that some d3d8 application
> might regress. It would perhaps be a different story if e.g. this
> was always set in practice on common hardware.
Radeon cards set the flag and clamp, Nvidia cards don't clamp and
don't set the flag.

I did some git archeology, and it turns out the clamp was deliberately
added by patch 2d810bdc892fc028d4180066c46649709058267f. Matteo, do
you remember if this fixed a particular game?

Another factoid is that Microsoft's WARP renderer seems to clamp in
d3d8, but not d3d9. That's another indication that there is some d3d8
game that depends on it.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJUUOcAAAoJEN0/YqbEcdMwgMAP/iAoM3XU/0tONVLRQvrE9MH6
q85CqNKr243AW/d6k8AfcWcw9Djrym/Gznl9+Jai6u1oRCEycP3qb+JHI+7/IBSm
sO3A1XEpSE/N+Qs3uZ1jcXn++XFzY8NTv8pJiE95OeXqvPdKjrtZnldTLpycQBxp
WQzrileFppc+cuooj+10FTIJH41bQ+5/JW3VOWPak5XyTv801wEodKfQ9dw2HTxw
7cEWC4U/Xzh4tskAoWofgedXRvXYdSEJ89zH7JgSl1gV+OH7iWzBiXG1LpjEs/WK
IoHsQ/hwmcYU7S+ig3avPWO37CqwnMpCynWIiRKOngu8G92MD1Rs2RIqNwyYJcRF
rLMdv6MNMBVQoATmfpZRBA+K9nnOBjiK+Qi8MsYm3ZXc8+Z3c1ZM8tfW/fQfDu8P
XHjeTyMdQnUMhD539OTZk7HcHYOtfRvQGnSbNtpLs9g4M+v94AVccV2CSBX4Ys+l
MJRIiy3uu5tR42tSsv4I2n2p4AC5n6NZ33ja52EcuefxK85ay6f+Y9E9gcqKzW8V
a3o+SkVLpgZsxV0XgCOWApS+x8OiADqwWjRb1QpEdYtuwd44fMyFB+NihMc3bO6R
wXubAke7Mr9FtB6vICJ6DuL5pfc0SXoD5u/BAIOU7Mhu43E+4dCXzTpTEPuiV8Iq
ADEdBUY5iYBriMcxX9E3
=rzEn
-----END PGP SIGNATURE-----



More information about the wine-devel mailing list