st: Fix comments in commit be6d584de4

This patch is adding comments as suggested by Ilia in MR

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13423>
This commit is contained in:
Neha Bhende 2021-10-18 12:50:19 -07:00 committed by Marge Bot
parent 753f595e3d
commit 061610a7dd
1 changed files with 3 additions and 1 deletions

View File

@ -6686,7 +6686,9 @@ st_translate_program(
if (proginfo->DualSlotInputs != 0) {
/* adjust attrToIndex to include placeholder for second
* part of a double attribute
* part of a double attribute.
* Following code is basically matching behavior of
* util_lower_uint64_vertex_elements
*/
numInputs = 0;
for (unsigned attr = 0; attr < VERT_ATTRIB_MAX; attr++) {