From 489b484b7b66a2c7be09291ff0b0793367ec06b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Wed, 26 Jan 2022 18:06:12 +0100 Subject: Cleanup: GPUShaderShared: Complete vector support Move some declaration from `GPU_shader_shared.h` to the main common file and add missing vector declarations. --- source/blender/gpu/GPU_shader_shared.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source/blender/gpu/GPU_shader_shared.h') 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 -- cgit v1.2.3