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:
Diffstat (limited to 'source/blender/draw/modes/shaders/common_view_lib.glsl')
-rw-r--r--source/blender/draw/modes/shaders/common_view_lib.glsl21
1 files changed, 11 insertions, 10 deletions
diff --git a/source/blender/draw/modes/shaders/common_view_lib.glsl b/source/blender/draw/modes/shaders/common_view_lib.glsl
index d261d263a6f..de9c4e2a96e 100644
--- a/source/blender/draw/modes/shaders/common_view_lib.glsl
+++ b/source/blender/draw/modes/shaders/common_view_lib.glsl
@@ -1,14 +1,15 @@
/* keep in sync with DRWManager.view_data */
-layout(std140) uniform viewBlock {
- /* Same order as DRWViewportMatrixType */
- mat4 ViewProjectionMatrix;
- mat4 ViewProjectionMatrixInverse;
- mat4 ViewMatrix;
- mat4 ViewMatrixInverse;
- mat4 ProjectionMatrix;
- mat4 ProjectionMatrixInverse;
+layout(std140) uniform viewBlock
+{
+ /* Same order as DRWViewportMatrixType */
+ mat4 ViewProjectionMatrix;
+ mat4 ViewProjectionMatrixInverse;
+ mat4 ViewMatrix;
+ mat4 ViewMatrixInverse;
+ mat4 ProjectionMatrix;
+ mat4 ProjectionMatrixInverse;
- vec4 CameraTexCoFactors;
+ vec4 CameraTexCoFactors;
- vec4 clipPlanes[2];
+ vec4 clipPlanes[2];
};