[Mesa-dev] [PATCH 09/21] r600/sb: disable if conversion for hs
Dave Airlie
airlied at gmail.com
Wed Jan 10 06:48:48 UTC 2018
From: Dave Airlie <airlied at redhat.com>
This fixes bad interactions with the LDS special values.
---
src/gallium/drivers/r600/sb/sb_core.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/sb/sb_core.cpp b/src/gallium/drivers/r600/sb/sb_core.cpp
index cdc2862d36..5049b67784 100644
--- a/src/gallium/drivers/r600/sb/sb_core.cpp
+++ b/src/gallium/drivers/r600/sb/sb_core.cpp
@@ -191,7 +191,7 @@ int r600_sb_bytecode_process(struct r600_context *rctx,
// if conversion breaks the dependency tracking between CF_EMIT ops when it removes
// the phi nodes for SV_GEOMETRY_EMIT. Just disable it for GS
- if (sh->target != TARGET_GS)
+ if (sh->target != TARGET_GS && sh->target != TARGET_HS)
SB_RUN_PASS(if_conversion, 1);
// if_conversion breaks info about uses, but next pass (peephole)
--
2.14.3
More information about the mesa-dev
mailing list