[Mesa-dev] [PATCH] glsl: handle same struct redeclaration (v2)

2016-05-19 Thread Dave Airlie
From: Dave Airlie This works around a bug in older version of UE4, where a shader defines the same structure twice. Although we aren't sure this is correct GLSL (it most likely isn't) there are enough UE4 based things out there we should deal with this. This drops the error to a warning if the s

[Mesa-dev] [PATCH] glsl: handle same struct redeclaration

2016-05-16 Thread Dave Airlie
From: Dave Airlie This works around a bug in older version of UE4, where a shader defines the same structure twice. Although we aren't sure this is correct GLSL (it most likely isn't) there are enough UE4 based things out there we should deal with this. This drops the error to a warning if the s