pvr: Fix a comment in the PDS code
authorKarmjit Mahil <Karmjit.Mahil@imgtec.com>
Sat, 25 Feb 2023 19:16:30 +0000 (19:16 +0000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Apr 2023 12:08:31 +0000 (12:08 +0000)
The comment was incorrectly showing which DDMAD param corresponed
to which DDMAD field.

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21588>

src/imagination/vulkan/pds/pvr_pipeline_pds.c

index 226b1f9..465a740 100644 (file)
@@ -1292,8 +1292,8 @@ void pvr_pds_generate_vertex_primary_program(
                                    /* cc    */ 0,
                                    /* end   */ 0,
                                    /* src0  */ R32_C(const_base + 3),
-                                   /* src2  */ (index),
-                                   /* src1  */ R64_C((const_base + 4) >> 1),
+                                   /* src1  */ (index),
+                                   /* src2  */ R64_C((const_base + 4) >> 1),
                                    /* src3  */ (const_base + 6) >> 1));
          }
       }