-
Image bindings are on a per-program base, but the guest sends bindings on a per-shader base, so that the naive implementation may result in overwriting image bindings if a shader program uses images in more than one stage. Therefore, make sure that images are emitted with unique binding points across all shader stages and bind the images accordingly. v2: use sized integer type Related: mesa/mesa#8339 Signed-off-by: Gert Wollny <gert.wollny@collabora.co.uk> Part-of: <virgl/virglrenderer!1139>
8f0bce81