Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/shaders/common_globals_lib.glsl
| Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | layout(std140) uniform globalsBlock | ||||
| float sizeLightCenter; | float sizeLightCenter; | ||||
| float sizeLightCircle; | float sizeLightCircle; | ||||
| float sizeLightCircleShadow; | float sizeLightCircleShadow; | ||||
| float sizeVertex; | float sizeVertex; | ||||
| float sizeEdge; | float sizeEdge; | ||||
| float sizeEdgeFix; | float sizeEdgeFix; | ||||
| float sizeFaceDot; | float sizeFaceDot; | ||||
| float sizeChecker; | float sizeChecker; | ||||
| float sizeVertexGpencil; | |||||
| float pad_globalsBlock; | |||||
| }; | }; | ||||
| #define sizeViewportInv (sizeViewport.zw) | #define sizeViewportInv (sizeViewport.zw) | ||||
| /* See: 'draw_cache_impl.h' for matching includes. */ | /* See: 'draw_cache_impl.h' for matching includes. */ | ||||
| /* data[0] (1st byte flags) */ | /* data[0] (1st byte flags) */ | ||||
| #define FACE_ACTIVE (1 << 0) | #define FACE_ACTIVE (1 << 0) | ||||
| Show All 16 Lines | |||||