summaryrefslogtreecommitdiffstats
path: root/src/util/macros.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-05-08 14:57:55 +1000
committerTimothy Arceri <[email protected]>2018-05-13 09:58:33 +1000
commitce188813bfe63068119cbf3d0f76e1ea3d27b722 (patch)
treeb9305dcd3b09ab8efa67d1cb1a89e7c7965b4667 /src/util/macros.h
parent26ddc4f9e103be495bd1720c07ba255e30523983 (diff)
radv: add initial support for VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT
When VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT is set we skip NIR linking optimisations and only run over the NIR optimisation loop once similar to the GLSLOptimizeConservatively constant used by some GL drivers. We need to run over the opts at least once to avoid errors in LLVM (e.g. dead vars it can't handle) and also to reduce the time spent compiling the IR in LLVM. With this change the Blacksmith Unity demos compilation times go from 329760 ms -> 299881 ms when using Wine and DXVK. V2: add bit to radv_pipeline_key Reviewed-by: Bas Nieuwenhuizen <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106246
Diffstat (limited to 'src/util/macros.h')
0 files changed, 0 insertions, 0 deletions