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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-07-05 14:42:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-07-05 14:42:35 +0300
commitdb8c93c02f0df5000970877d9746ca0cf2eacfb2 (patch)
tree245102d2c706417f6534d7134c96208ad101f45c /source/blender/draw
parent3640a58b9bdd100fb745f42b3f38a52786c129fb (diff)
DRW: add back gl_PointSize for AMD drivers
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/modes/shaders/paint_wire_vert.glsl5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/draw/modes/shaders/paint_wire_vert.glsl b/source/blender/draw/modes/shaders/paint_wire_vert.glsl
index 5ed4a3fd33c..5857ffc9960 100644
--- a/source/blender/draw/modes/shaders/paint_wire_vert.glsl
+++ b/source/blender/draw/modes/shaders/paint_wire_vert.glsl
@@ -43,6 +43,11 @@ void main()
# endif
#endif
+ /* Needed for Radeon (TM) RX 480 Graphics. */
+#if defined(GPU_ATI)
+ gl_PointSize = sizeVertex * 2.0;
+#endif
+
#ifdef USE_WORLD_CLIP_PLANES
world_clip_planes_calc_clip_distance(world_pos);
#endif