Cleanup: GPUShaderShared: Complete vector support
Move some declaration from `GPU_shader_shared.h` to the main common file and add missing vector declarations.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user