From 361f58f0eed8971f94e70d833d6fc2c8d3176321 Mon Sep 17 00:00:00 2001 From: Karmjit Mahil Date: Sat, 25 Feb 2023 19:16:30 +0000 Subject: [PATCH] pvr: Fix a comment in the PDS code The comment was incorrectly showing which DDMAD param corresponed to which DDMAD field. Signed-off-by: Karmjit Mahil Reviewed-by: Frank Binns Part-of: --- src/imagination/vulkan/pds/pvr_pipeline_pds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/imagination/vulkan/pds/pvr_pipeline_pds.c b/src/imagination/vulkan/pds/pvr_pipeline_pds.c index 226b1f9..465a740 100644 --- a/src/imagination/vulkan/pds/pvr_pipeline_pds.c +++ b/src/imagination/vulkan/pds/pvr_pipeline_pds.c @@ -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)); } } -- 2.7.4