summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2019-01-21 22:59:24 +0100
committerAxel Davy <[email protected]>2019-04-30 19:18:52 +0200
commitbade3bf6153ecf7adda445a50b0b7009f63e367e (patch)
tree8cba9828e64d1e72af09ac009b42bf43ff809b35 /src/gallium/state_trackers
parent5c67db68897843885ac1502c85995527288613f1 (diff)
st/nine: Enable computing const_ranges
All the pieces for constant compact are ready, thus enable the path. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/nine/nine_shader.c2
1 files changed, 1 insertions, 1 deletions
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;