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/gpu/gawain/vertex_format.h')
-rw-r--r--source/blender/gpu/gawain/vertex_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/gawain/vertex_format.h b/source/blender/gpu/gawain/vertex_format.h
index 66477b0cfc7..4ed9e58f376 100644
--- a/source/blender/gpu/gawain/vertex_format.h
+++ b/source/blender/gpu/gawain/vertex_format.h
@@ -74,7 +74,7 @@ typedef struct {
int x : 10;
int y : 10;
int z : 10;
- int w : 2; // ignored for our purposes
+ int w : 2; // 0 by default, can manually set to { -2, -1, 0, 1 }
} PackedNormal;
PackedNormal convert_i10_v3(const float data[3]);