From bade3bf6153ecf7adda445a50b0b7009f63e367e Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Mon, 21 Jan 2019 22:59:24 +0100 Subject: [PATCH] st/nine: Enable computing const_ranges All the pieces for constant compact are ready, thus enable the path. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/nine_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/state_trackers/nine/nine_shader.c index 130d63b61dd..050a32d3327 100644 --- a/src/gallium/state_trackers/nine/nine_shader.c +++ b/src/gallium/state_trackers/nine/nine_shader.c @@ -3837,7 +3837,7 @@ nine_translate_shader(struct NineDevice9 *device, struct nine_shader_info *info, } /* Recompile after compacting constant slots if possible */ - if (!tx->indirect_const_access && !info->swvp_on && tx->num_slots > 0 && 0) { + if (!tx->indirect_const_access && !info->swvp_on && tx->num_slots > 0) { unsigned *slot_map; unsigned c; int i, j, num_ranges, prev; -- 2.30.2