Skip to content

llvmpipe: fix crash when doing FB fetch + gl_FragDepth write in one shader

Reproducible by piglit test from this MR: piglit!576

Using var->data.driver_location is not correct in this context as writing to gl_FragDepth adds one output variable before render target outputs.

Merge request reports