forked from bartvdbraak/blender
bc096e1eb8
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 |
||
---|---|---|
.. | ||
background.cpp | ||
bsdf_diffuse_ramp.cpp | ||
bsdf_phong_ramp.cpp | ||
CMakeLists.txt | ||
emissive.cpp | ||
osl_bssrdf.cpp | ||
osl_closures.cpp | ||
osl_closures.h | ||
osl_globals.h | ||
osl_services.cpp | ||
osl_services.h | ||
osl_shader.cpp | ||
osl_shader.h |