Cycles: tentative fix get rid of os-specific issue in struct ShaderClosure ( aligment issues due order )
This commit is contained in:
parent
03ce9882af
commit
0c3ff81e79
|
@ -531,16 +531,18 @@ typedef enum AttributeStandard {
|
|||
typedef struct ShaderClosure {
|
||||
ClosureType type;
|
||||
float3 weight;
|
||||
|
||||
#ifndef __APPLE__
|
||||
float sample_weight;
|
||||
#endif
|
||||
float data0;
|
||||
float data1;
|
||||
float data2;
|
||||
|
||||
float3 N;
|
||||
float3 T;
|
||||
|
||||
#ifdef __APPLE__
|
||||
float sample_weight;
|
||||
|
||||
#endif
|
||||
#ifdef __OSL__
|
||||
void *prim;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue