st/nine: Enable computing const_ranges

All the pieces for constant compact are ready,
thus enable the path.

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
This commit is contained in:
Axel Davy 2019-01-21 22:59:24 +01:00
parent 5c67db6889
commit bade3bf615
1 changed files with 1 additions and 1 deletions

View File

@ -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;