Skip to content

vrend: Ignore prev shader stages in shader key when processing unbound shaders

Gert Wollny requested to merge gerddie/virglrenderer:fix-114-gurchtan into master

This MR replaces !262 (closed)

Gallium sends the shaders in the order FS-[GS]-[TES]-[TCS]-VS. If an old shader program is stil bound when a new shader is send, then it would use the old bounds shader of the previous stage to evaluate the shader key and code creation might create an invalid shader. Hence, if the shader to be translated is not yet bound ignore the previous stage when evaluating the shader key (Gurchtan)

Fixes #114 (closed)

Merge request reports