Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-05-12 19:00:41 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-05-12 19:00:41 +0300
commit1606e732c2d18ceda9e3d021062df7429eed0692 (patch)
tree6ffbb571c1c7464afbe04b50b5c2194b044fe537 /source
parent33f9fe3c620fef1d1ad2cb3443bf503afdb9db3b (diff)
parentac1a6565dfe7f2e784df106e219f2b9444f34ca9 (diff)
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/screen/area.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index bbc6b9e7c86..8fb96ca0b76 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -249,7 +249,9 @@ static void draw_azone_arrow(float x1, float y1, float x2, float y2, AZEdge edge
uint pos = GPU_vertformat_attr_add(format, "pos", GPU_COMP_F32, 2, GPU_FETCH_FLOAT);
GPU_blend(true);
- immBindBuiltinProgram(GPU_SHADER_2D_UNIFORM_COLOR);
+ /* NOTE(fclem): There is something strange going on with Mesa and GPU_SHADER_2D_UNIFORM_COLOR
+ * that causes a crash on some GPUs (see T76113). Using 3D variant avoid the issue. */
+ immBindBuiltinProgram(GPU_SHADER_3D_UNIFORM_COLOR);
immUniformColor4f(0.8f, 0.8f, 0.8f, 0.4f);
immBegin(GPU_PRIM_TRI_FAN, 6);