blender/intern/cycles/kernel/osl
Sergey Sharybin bc096e1eb8 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
2017-01-23 12:56:55 +01:00
..
background.cpp Cycles: refactor kernel closure storage to use structs per closure type. 2016-07-31 02:34:43 +02:00
bsdf_diffuse_ramp.cpp Cycles: refactor kernel closure storage to use structs per closure type. 2016-07-31 02:34:43 +02:00
bsdf_phong_ramp.cpp Cycles: refactor kernel closure storage to use structs per closure type. 2016-07-31 02:34:43 +02:00
CMakeLists.txt Cycles: refactor kernel closure storage to use structs per closure type. 2016-07-31 02:34:43 +02:00
emissive.cpp Cycles: refactor kernel closure storage to use structs per closure type. 2016-07-31 02:34:43 +02:00
osl_bssrdf.cpp Cycles: refactor kernel closure storage to use structs per closure type. 2016-07-31 02:34:43 +02:00
osl_closures.cpp Cycles: refactor kernel closure storage to use structs per closure type. 2016-07-31 02:34:43 +02:00
osl_closures.h Cycles: refactor kernel closure storage to use structs per closure type. 2016-07-31 02:34:43 +02:00
osl_globals.h Cycles microdisplacement: Improved automatic bump mapping 2016-09-01 22:45:49 -04:00
osl_services.cpp Cycles: Split ShaderData object and shader flags 2017-01-23 12:56:55 +01:00
osl_services.h Cycles: Expose diffuse and glossy depth to Light Path node 2017-01-19 15:09:58 +01:00
osl_shader.cpp Cycles: Silence strict compiler warning in release build 2016-09-02 09:14:34 +02:00
osl_shader.h Cycles: Add AttributeDescriptor 2016-08-05 23:49:21 -04:00