Skip to content

glsl/types: fix dword slots calc for float16 matricies.

Dave Airlie requested to merge airlied/mesa:glsl-fix-fp16-const into main

The current uniform query uploader for mat3 calcs things as if the vector elements are f16vec4 wide, so fix the calcs here to do the same.

Fixes GTF-GL46.gtf21.GL.mat3.mat3arraysimple_frag on llvmpipe when 16-bit uniform lowering is allowed.

Merge request reports