Fix Cycles hair render error on GPU after recent changes
Volumes primitive needs to be part of traceable primitives.
This commit is contained in:
parent
037035921b
commit
ae636994cd
Notes:
blender-bot
2023-02-14 02:22:07 +01:00
Referenced by issue #89531, Cycles Hair broken with GPU rendering
|
@ -689,12 +689,11 @@ typedef enum PrimitiveType {
|
|||
PRIMITIVE_MOTION_CURVE_THICK = (1 << 3),
|
||||
PRIMITIVE_CURVE_RIBBON = (1 << 4),
|
||||
PRIMITIVE_MOTION_CURVE_RIBBON = (1 << 5),
|
||||
PRIMITIVE_VOLUME = (1 << 6),
|
||||
/* Lamp primitive is not included below on purpose,
|
||||
* since it is no real traceable primitive.
|
||||
*/
|
||||
PRIMITIVE_LAMP = (1 << 6),
|
||||
|
||||
PRIMITIVE_VOLUME = (1 << 7),
|
||||
PRIMITIVE_LAMP = (1 << 7),
|
||||
|
||||
PRIMITIVE_ALL_TRIANGLE = (PRIMITIVE_TRIANGLE | PRIMITIVE_MOTION_TRIANGLE),
|
||||
PRIMITIVE_ALL_CURVE = (PRIMITIVE_CURVE_THICK | PRIMITIVE_MOTION_CURVE_THICK |
|
||||
|
|
Loading…
Reference in New Issue