i965/fs: Don't modify ann_count if not debugging.
authorMatt Turner <mattst88@gmail.com>
Sun, 25 May 2014 17:30:13 +0000 (10:30 -0700)
committerMatt Turner <mattst88@gmail.com>
Sun, 25 May 2014 17:32:35 +0000 (10:32 -0700)
commitc9fd68408b83d274722b32b0e23c48d5d6e40862
tree85049562dcbf725c5277399c75d29f07ae06a89b
parentc2c639ecf667b4b7cf17cfe33dfe710432f2c43a
i965/fs: Don't modify ann_count if not debugging.

If we make ann_count non-zero, annotation_finalize() won't bail.

Not modifying it seems to make the code more clear than would modifying
annotation_finalize().
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/gen8_fs_generator.cpp