summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;