Blender Git Loki

Git Commits -> Revision d63b72e

Revision d63b72e by Omar Emara (master)
April 13, 2021, 20:36 (GMT)
Fix T78803: Bad widget drawing with the R600g driver

The SB back-end optimizer for the mesa R600g driver corrupts the vertex
shader for widget drawing. This will not be fixed upstream because SB is
getting replaced as part of the new NIR path. This was thought to be an
issue with instancing and an attempted fix was submitted in D8374, but
it did not fix the issue.

This patch reimplements the array look-up part of the code using switch
case as a workaround and removes the old workaround implemented as part
of D8374.

Reviewed By: Clement Foucault

Differential Revision: https://developer.blender.org/D10967

Commit Details:

Full Hash: d63b72e9f9305ac275584e801244741f2a14e5d3
Parent Commit: 1702934
Lines Changed: +21, -11

2 Modified Paths:

/source/blender/editors/interface/interface_widgets.c (+0, -6) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_widget_base_vert.glsl (+21, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021