From ea1ef9277cd7d5b439951099bee15f074999c7c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 15 Jul 2018 12:13:25 +0200 Subject: [PATCH] Reduce the estimated transform cost of an additional light from 10 to 7 cycles, see #5530. --- GPU/GPUCommon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GPUCommon.cpp b/GPU/GPUCommon.cpp index 9a6a471ae8..1b9bb46283 100644 --- a/GPU/GPUCommon.cpp +++ b/GPU/GPUCommon.cpp @@ -464,7 +464,7 @@ int GPUCommon::EstimatePerVertexCost() { for (int i = 0; i < 4; i++) { if (gstate.isLightChanEnabled(i)) - cost += 10; + cost += 7; } }