Cycles: Cleanup, whitespace after keyword
This commit is contained in:
@@ -682,7 +682,7 @@ SceneParams BlenderSync::get_scene_params(BL::Scene& b_scene,
|
|||||||
/* TODO(sergey): Once OSL supports per-microarchitecture optimization get
|
/* TODO(sergey): Once OSL supports per-microarchitecture optimization get
|
||||||
* rid of this.
|
* rid of this.
|
||||||
*/
|
*/
|
||||||
if (params.shadingsystem == SHADINGSYSTEM_OSL) {
|
if(params.shadingsystem == SHADINGSYSTEM_OSL) {
|
||||||
params.bvh_layout = BVH_LAYOUT_BVH4;
|
params.bvh_layout = BVH_LAYOUT_BVH4;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@@ -1031,7 +1031,7 @@ void device_cpu_info(vector<DeviceInfo>& devices)
|
|||||||
if(system_cpu_support_sse2()) {
|
if(system_cpu_support_sse2()) {
|
||||||
info.bvh_layout_mask |= BVH_LAYOUT_BVH4;
|
info.bvh_layout_mask |= BVH_LAYOUT_BVH4;
|
||||||
}
|
}
|
||||||
if (system_cpu_support_avx2()) {
|
if(system_cpu_support_avx2()) {
|
||||||
info.bvh_layout_mask |= BVH_LAYOUT_BVH8;
|
info.bvh_layout_mask |= BVH_LAYOUT_BVH8;
|
||||||
}
|
}
|
||||||
info.has_volume_decoupled = true;
|
info.has_volume_decoupled = true;
|
||||||
|
@@ -57,13 +57,13 @@ void DebugFlags::CPU::reset()
|
|||||||
#undef STRINGIFY
|
#undef STRINGIFY
|
||||||
#undef CHECK_CPU_FLAGS
|
#undef CHECK_CPU_FLAGS
|
||||||
|
|
||||||
if (getenv("CYCLES_BVH2") != NULL) {
|
if(getenv("CYCLES_BVH2") != NULL) {
|
||||||
bvh_layout = BVH_LAYOUT_BVH2;
|
bvh_layout = BVH_LAYOUT_BVH2;
|
||||||
}
|
}
|
||||||
else if (getenv("CYCLES_BVH4") != NULL) {
|
else if(getenv("CYCLES_BVH4") != NULL) {
|
||||||
bvh_layout = BVH_LAYOUT_BVH4;
|
bvh_layout = BVH_LAYOUT_BVH4;
|
||||||
}
|
}
|
||||||
else if (getenv("CYCLES_BVH8") != NULL) {
|
else if(getenv("CYCLES_BVH8") != NULL) {
|
||||||
bvh_layout = BVH_LAYOUT_BVH8;
|
bvh_layout = BVH_LAYOUT_BVH8;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user