Sometime the shader key "color_is_twosided" is not set, but the vertex shader only emits a back color and the fragment shader expects a front color. So if a back color is found set the "twoside" key to force the emission of the declaration for both, the front and the back color. Fixes the piglits: vertex-program-two-side Fixes #123 Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>macos/master
parent
e2737b86ef
commit
8fa6ebbbb8
Loading…
Reference in new issue