diff options
author | Samuel Pitoiset <[email protected]> | 2019-05-07 16:09:46 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-05-17 11:41:19 +0200 |
commit | d7501834cd86f9ec0b7c3dea17448dc523e36390 (patch) | |
tree | 76cdc3d8537efddfdabbff5ed33ff9ccef1df384 /src/amd/vulkan/radv_debug.h | |
parent | 47afc5eed76f12ec38f94f0069c4695c9fe78889 (diff) |
radv: add a workaround for Monster Hunter World and LLVM 7&8
The load/store optimizer pass doesn't handle WaW hazards correctly
and this is the root cause of the reflection issue with Monster
Hunter World. AFAIK, it's the only game that are affected by this
issue.
This is fixed with LLVM r361008, but we need a workaround for older
LLVM versions unfortunately.
Cc: "19.0" "19.1" <[email protected]>
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_debug.h')
-rw-r--r-- | src/amd/vulkan/radv_debug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h index 17a2f3370c0..652a3b677d2 100644 --- a/src/amd/vulkan/radv_debug.h +++ b/src/amd/vulkan/radv_debug.h @@ -51,6 +51,7 @@ enum { RADV_DEBUG_CHECKIR = 0x200000, RADV_DEBUG_NOTHREADLLVM = 0x400000, RADV_DEBUG_NOBINNING = 0x800000, + RADV_DEBUG_NO_LOAD_STORE_OPT = 0x1000000, }; enum { |