[D3D12] Better explanation of dxbc_switch

This commit is contained in:
Triang3l 2018-09-19 23:26:45 +03:00
parent 9daea21edc
commit 1f248572ac
1 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,9 @@ DEFINE_bool(dxbc_indexable_temps, true,
DEFINE_bool(dxbc_switch, true,
"Use switch rather than if for flow control. Turning this off or "
"on may improve stability, though this heavily depends on the "
"driver.");
"driver - on AMD, it's recommended to have this set to true, as "
"Halo 3 appears to crash when if is used for flow control "
"(possibly the shader compiler tries to flatten them).");
namespace xe {
namespace gpu {