Cycles: glossy and anisotropic BSDF changes
[blender.git] / intern / cycles / kernel / svm / svm_types.h
index 87c56b3ea8206b9bb4bd48d7c52bd15c4443d5d0..103f562ed601239e49f400808081748b037c6203 100644 (file)
@@ -357,8 +357,10 @@ typedef enum ClosureType {
        CLOSURE_BSDF_REFLECTION_ID,
        CLOSURE_BSDF_MICROFACET_GGX_ID,
        CLOSURE_BSDF_MICROFACET_BECKMANN_ID,
-       CLOSURE_BSDF_WARD_ID,
        CLOSURE_BSDF_ASHIKHMIN_SHIRLEY_ID,
+       CLOSURE_BSDF_MICROFACET_GGX_ANISO_ID,
+       CLOSURE_BSDF_MICROFACET_BECKMANN_ANISO_ID,
+       CLOSURE_BSDF_ASHIKHMIN_SHIRLEY_ANISO_ID,
        CLOSURE_BSDF_ASHIKHMIN_VELVET_ID,
        CLOSURE_BSDF_WESTIN_BACKSCATTER_ID,
        CLOSURE_BSDF_PHONG_RAMP_ID,
@@ -404,7 +406,7 @@ typedef enum ClosureType {
 #define CLOSURE_IS_BSDF_GLOSSY(type) (type >= CLOSURE_BSDF_GLOSSY_ID && type <= CLOSURE_BSDF_HAIR_REFLECTION_ID)
 #define CLOSURE_IS_BSDF_TRANSMISSION(type) (type >= CLOSURE_BSDF_TRANSMISSION_ID && type <= CLOSURE_BSDF_HAIR_TRANSMISSION_ID)
 #define CLOSURE_IS_BSDF_BSSRDF(type) (type == CLOSURE_BSDF_BSSRDF_ID)
-#define CLOSURE_IS_BSDF_ANISOTROPIC(type) (type >= CLOSURE_BSDF_WARD_ID && type <= CLOSURE_BSDF_ASHIKHMIN_SHIRLEY_ID)
+#define CLOSURE_IS_BSDF_ANISOTROPIC(type) (type >= CLOSURE_BSDF_MICROFACET_GGX_ANISO_ID && type <= CLOSURE_BSDF_ASHIKHMIN_SHIRLEY_ANISO_ID)
 #define CLOSURE_IS_BSDF_OR_BSSRDF(type) (type <= CLOSURE_BSSRDF_GAUSSIAN_ID)
 #define CLOSURE_IS_BSSRDF(type) (type >= CLOSURE_BSSRDF_CUBIC_ID && type <= CLOSURE_BSSRDF_GAUSSIAN_ID)
 #define CLOSURE_IS_VOLUME(type) (type >= CLOSURE_VOLUME_ID && type <= CLOSURE_VOLUME_HENYEY_GREENSTEIN_ID)