RHI: fix the PerVertexColorMaterial shader


The Light struct was not conformant to the std140 layout.

Use the existing phong.inc.frag code fragment to fix this and reduce
code duplication at the same time.

Fixes: QTBUG-115025
Fixes: QTBUG-115565
Pick-to: 6.7
Change-Id: I70840a53fe48cab67200b09e17072ccc6a142a6a
Reviewed-by: Mike Krus <mike.krus@kdab.com>
commit4b0bb2f95da3c14aa20b610f36d9f04f6c82c8f3
parent491e25e100f5eace863a6cab4b0fc5a508cae7bf
authorAurélien Brooke <aurelien@bahiasoft.fr>
committerAurélien Brooke <aurelien@bahiasoft.fr>
commit timeSat, 13 Jan 2024 15:36:44 +0000