From 0de17f52a515e655682b4b894c44ad9d7308794e Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Tue, 4 Apr 2017 14:12:59 -0700 Subject: [PATCH] drirc: Set glsl_zero_init for Kerbal Space Program. This fixes the stripes of garbage rendered on the floor of the vehicle assembly building among other rendering issues. The reason for the misrendering seems to be that some of the GLSL shaders used by the application use variables before initializing them, incorrectly assuming that they will be implicitly set to zero by the implementation. Acked-by: Matt Turner --- src/mesa/drivers/dri/common/drirc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc index 23d09fabb16..14d7713fdce 100644 --- a/src/mesa/drivers/dri/common/drirc +++ b/src/mesa/drivers/dri/common/drirc @@ -128,5 +128,13 @@ TODO: document the other workarounds. + + + + + + -- 2.30.2