Skip to content

virgl: Enable indirect addressing for shader inputs

Gert Wollny requested to merge gerddie/mesa:add-virgl-array-input into master

This series enables indirect addressing for shader inputs in virgl.

Because virgl rewrites the shaders from TGSI to glsl it is required that the in and output sizes of arrays match, hence with the first patch a new CAP is added so that the array size optimization might be skipped in the GLSL-to-TGSI step.

The host side MR to enable support this functionality can be found here: virgl/virglrenderer!128 (merged)

Merge request reports