Skip to content

lima/gpir: fix float uniform alignment issue

Vasily Khoruzhick requested to merge anarsoul/mesa:lima-gp-uniform-fix into master

If PIPE_CAP_PACKED_UNIFORMS is not set uniforms are vec4 aligned, so lima_nir_lower_uniform_to_scalar should use first channel of vec4 for float uniforms.

Fixes lima/mesa#87 (closed)

Signed-off-by: Vasily Khoruzhick anarsoul@gmail.com

Merge request reports