anv: Drop stale comment in anv_cmd_buffer_emit_binding_table()
authorChad Versace <chad.versace@intel.com>
Tue, 3 Nov 2015 21:42:28 +0000 (13:42 -0800)
committerChad Versace <chad.versace@intel.com>
Tue, 3 Nov 2015 21:46:40 +0000 (13:46 -0800)
commit4d1c76485ba8868d494b268675d26e76a40c088c
tree4f83eab11b2049c5b67bcf7859bdde15d4f601a6
parent584f9d444238baaaacc138c81c46c88af98438f9
anv: Drop stale comment in anv_cmd_buffer_emit_binding_table()

When emitting the binding table for the fragment shader stage, we no
longer "walk all of the attachments, [inserting only] the color
attachments into the binding table". Instead, we iterate only over the
subpass's color attachments, which is the minimal possible iteration.

While killing the comment, also rename the variable 'attachments' to
'color_count', as it's no longer a count of all framebuffer attachments
but only the subpass's color attachment count.
src/vulkan/anv_cmd_buffer.c