Commit e480cb63 authored by Gert Wollny's avatar Gert Wollny Committed by Gert Wollny

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

Gallium sends the shaders in the order FS-[GS]-[TES]-[TCS]-VS. If an old
shader program is still 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

Fixes #114
Signed-off-by: default avatarGert Wollny <>
Reviewed-by: default avatarGurchetan Singh <>
parent 71747ea9
Pipeline #4999 failed with stages
in 22 seconds