Blender Git Loki

Git Commits -> Revision bc096e1

Revision bc096e1 by Sergey Sharybin (master)
January 23, 2017, 11:56 (GMT)
Cycles: Split ShaderData object and shader flags

We started to run out of bits there, so now we separate flags
which came from __object_flags and which are either runtime or
coming from __shader_flags.

Rule now is: SD_OBJECT_* flags are to be tested against new
object_flags field of ShaderData, all the rest flags are to
be tested against flags field of ShaderData.

There should be no user-visible changes, and time difference
should be minimal. In fact, from tests here can only see hardly
measurable difference and sometimes the new code is somewhat
faster (all within a noise floor, so hard to tell for sure).

Reviewers: brecht, dingto, juicyfruit, lukasstockner97, maiself

Differential Revision: https://developer.blender.org/D2428

Commit Details:

Full Hash: bc096e1eb8790c1624ce7386cd86668267fbea48
Parent Commit: b9311b5
Lines Changed: +158, -96

15 Modified Paths:

/intern/cycles/kernel/bvh/bvh_volume.h (+0, -2) (Diff)
/intern/cycles/kernel/bvh/bvh_volume_all.h (+0, -1) (Diff)
/intern/cycles/kernel/bvh/qbvh_volume.h (+0, -1) (Diff)
/intern/cycles/kernel/bvh/qbvh_volume_all.h (+0, -2) (Diff)
/intern/cycles/kernel/geom/geom_motion_triangle_shader.h (+1, -1) (Diff)
/intern/cycles/kernel/geom/geom_object.h (+0, -1) (Diff)
/intern/cycles/kernel/geom/geom_primitive.h (+3, -2) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+8, -8) (Diff)
/intern/cycles/kernel/kernel_path.h (+11, -7) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+10, -9) (Diff)
/intern/cycles/kernel/kernel_shader.h (+18, -9) (Diff)
/intern/cycles/kernel/kernel_types.h (+98, -44) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_holdout_emission_blurring_pathtermination_ao.h (+7, -7) (Diff)
/intern/cycles/kernel/svm/svm_wireframe.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021