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:
authorClément Foucault <foucault.clem@gmail.com>2022-01-26 20:06:12 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-01-26 20:10:59 +0300
commit489b484b7b66a2c7be09291ff0b0793367ec06b9 (patch)
tree3edbc8784f3e6578820e3f3c041cd49e51a4437a /source/blender/gpu/GPU_shader_shared.h
parentb42adab3a2b89eb02c5829a389eab9b2921f13b7 (diff)
Cleanup: GPUShaderShared: Complete vector support
Move some declaration from `GPU_shader_shared.h` to the main common file and add missing vector declarations.
Diffstat (limited to 'source/blender/gpu/GPU_shader_shared.h')
-rw-r--r--source/blender/gpu/GPU_shader_shared.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/gpu/GPU_shader_shared.h b/source/blender/gpu/GPU_shader_shared.h
index 334b974acd8..eeca7ee6caa 100644
--- a/source/blender/gpu/GPU_shader_shared.h
+++ b/source/blender/gpu/GPU_shader_shared.h
@@ -25,13 +25,6 @@
# include "intern/gpu_shader_shared_utils.h"
#endif
-#ifdef __cplusplus
-using blender::float2;
-using blender::float3;
-using blender::float4;
-using blender::float4x4;
-#endif
-
struct NodeLinkData {
float4 colors[3];
/* bezierPts Is actually a float2, but due to std140 each element needs to be aligned to 16