Mesa (main): st: Fix comments in commit be6d584de43966e
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Oct 18 21:53:04 UTC 2021
Module: Mesa
Branch: main
Commit: 061610a7dd843483924fea6528519d8098d5fd87
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=061610a7dd843483924fea6528519d8098d5fd87
Author: Neha Bhende <bhenden at vmware.com>
Date: Mon Oct 18 12:50:19 2021 -0700
st: Fix comments in commit be6d584de43966e
This patch is adding comments as suggested by Ilia in MR
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13423>
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index dcbdb096deb..45f8067fa90 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -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++) {
More information about the mesa-commit
mailing list