From: Francisco Jerez Date: Tue, 4 Apr 2017 21:12:59 +0000 (-0700) Subject: drirc: Set glsl_zero_init for Kerbal Space Program. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0de17f52a515e655682b4b894c44ad9d7308794e;p=mesa.git 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 --- 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. + + + + + +