r600/sb: disable if conversion for hs
authorDave Airlie <airlied@redhat.com>
Wed, 10 Jan 2018 03:57:52 +0000 (03:57 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 18 Jan 2018 03:37:01 +0000 (03:37 +0000)
This fixes bad interactions with the LDS special values.

Acked-By: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/sb/sb_core.cpp

index cdc2862d36df2fa7cd6ac7523d959034013a594e..5049b677842c417a1d2612a8ff1953a5ba4e0171 100644 (file)
@@ -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)