c06bd2d184
Fix T64499: edit mode display glitch on Intel HD 4x00 and Windows 7/8
...
There may well be more vertex shaders that need this, but I couldn't find them
in my testing.
Differential Revision: https://developer.blender.org/D4921
2019-05-22 08:32:39 +02:00
20421ef952
Cleanup: DRW: Move ModelMatrix declaration to common_view_lib
2019-05-14 10:57:04 +02:00
632e0725d2
Overlays: Use common_view_lib.glsl
...
This removes ModelViewProjectionMatrix usage
2019-05-10 12:25:16 +02:00
fdddea676d
Cleanup: DRW: Renaming of glsl utility macros
2019-05-10 12:14:41 +02:00
c9537ee5c3
Overlay: Remove use of NormalMatrix
2019-05-08 23:28:06 +02:00
e12c08e8d1
ClangFormat: apply to source, most of intern
...
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-17 06:21:24 +02:00
9bc47ed0f6
Fix clipping shaders with some AMD/Intel drivers
...
Caused:
error: unsized array index must be constant
Use hard coded number of clipping planes, copying the 4th to 5 & 6
when only 4 are used.
2019-01-21 23:55:53 +11:00
a06b2b25ad
DRW: pass clipping to geom shader via 'gl_in'
...
Removes need to pass the worldspace location.
2019-01-21 17:50:31 +11:00
07673a3460
DRW: Support edit-mesh clipping
2019-01-21 16:15:30 +11:00
5a377521aa
Mesh Batch Cache: Split Edit Mesh mode Vertex Buffers for faster update.
2017-05-15 16:14:17 +02:00
49ef1a25b8
Edit Mesh overlay: Ported Display Normals option
2017-03-09 01:30:26 +01:00