Skip to content

nir, glsl, mesa, gallium: FP16 varyings and uniforms for mediump, new passes for samplers with 16-bit srcs/dst

Marek Olšák requested to merge mareko/mesa:fp16-common into master

It's here. The last important piece of FP16 mediump, depending on what you consider important.

It was tested by dEQP and piglit. It contains Alyssa's !6163 (closed).

This is the common code. The radeonsi driver support will be in a separate MR.

These are still to do (I consider them less important for now):

  • Int16 uniforms
  • GLSL structure types with mediump are not lowered to 16 bits (temps, inputs, outputs, uniforms)
  • Passes to optimize and legalize the src and dst types of shader images for drivers.

Merge request reports