Skip to content

nir: fix scratch usage for temp array of vec3

Alexey Bozhenko requested to merge GL/mesa:fix/scratch_array_alignment into main

vec3 with mediump precision has a 6 bytes size. Because scratch has a 4-byte alignment we can't use an array of elements with a 6-byte alignment.

Closes: #7364 (closed)

Signed-off-by: Oleksii Bozhenko oleksii.bozhenko@globallogic.com

Merge request reports

Loading