st/mesa,gallium: add a workaround for Unigine Heaven 4.0 and Valley 1.0

Graphics / Mesa 3D Graphics Library / Mesa - Marek Olšák [amd.com] - 17 July 2014 18:58 EDT

Most (all?) Unigine shaders fail to compile without this if sample shading is advertised. This is, of course, Unigine developers' fault.

3a86ca5 st/mesa,gallium: add a workaround for Unigine Heaven 4.0 and Valley 1.0
src/gallium/include/state_tracker/st_api.h | 1 +
src/gallium/state_trackers/dri/dri_context.c | 2 ++
src/gallium/state_trackers/dri/dri_screen.c | 1 +
src/mesa/drivers/dri/common/drirc | 20 +++++++++++++++++---
src/mesa/drivers/dri/common/xmlpool/t_options.h | 5 +++++
src/mesa/state_tracker/st_extensions.c | 3 +++
6 files changed, 29 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share