Altough the driver isn't expected to receive nir_var_uniform types from GLSL this happens currently for one of the internal driver shaders.
At vc4_get_yuv_fs at vc4_blit.c there is a "stride" nir_var_uniform
variable that needs to be lowered so the shader can be compiled.
This regression was affecting several piglit tests under spec/ext_image_dma_buf_import and at least MythTV application.
Fixes: 96d99f2eccb ("vc4: Only call nir_lower_io on shader_in/out") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3536
d91cb31a2aa vc4: Enable nir_lower_io for uniforms
src/gallium/drivers/vc4/vc4_program.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)