From 0343938c2eb236222b0b6d11b5d3e955d5822361 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Wed, 1 Jan 2020 20:58:42 +0000 Subject: [PATCH] [util] Enable d3d9.forceSamplerTypeSpecConstants for Halo [CE] The game uses incorrect sampler types in the shaders for glass rendering which breaks it on native + us if we don't spec-constantly chose the sampler type automagically. --- src/util/config/config.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 98efd81ad..329a588cb 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -259,6 +259,12 @@ namespace dxvk { // Keeps game's rendering methods consistent // for optimal compatibility. { "d3d9.customDeviceId", "4172" }, + // The game uses incorrect sampler types in + // the shaders for glass rendering which + // breaks it on native + us if we don't + // spec-constantly chose the sampler type + // automagically. + { "d3d9.forceSamplerTypeSpecConstants", "True" }, }} }, /* Counter Strike: Global Offensive Needs NVAPI to avoid a forced AO + Smoke