[util] Force sampler type spec const for Star Wars TFU2

The game tries to binda  2D texture to a slot that is declared
as a 3D texture in the shader. This causes one particle effect
to be completely black because DXVK does not bind the texture
This commit is contained in:
Robin Kertels 2022-04-06 00:07:31 +02:00 committed by Joshie
parent 95a3413949
commit ce87bec412
1 changed files with 7 additions and 0 deletions

View File

@ -530,6 +530,13 @@ namespace dxvk {
{ R"(\\limbo\.exe$)", {{
{ "d3d9.maxFrameRate", "60" },
}} },
/* Star Wars The Force Unleashed 2 *
* Black particles because it tries to bind *
* a 2D texture for a shader that *
* declares a 3d texture. */
{ R"(\\SWTFU2\.exe$)", {{
{ "d3d9.forceSamplerTypeSpecConstants", "True" },
}} },
}};