From: Axel Davy Date: Mon, 21 Jan 2019 21:59:24 +0000 (+0100) Subject: st/nine: Enable computing const_ranges X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bade3bf6153ecf7adda445a50b0b7009f63e367e;p=mesa.git st/nine: Enable computing const_ranges All the pieces for constant compact are ready, thus enable the path. Signed-off-by: Axel Davy --- 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;