Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
AgeCommit message (Collapse)Author
2017-04-13Cycles: Header cleanup in BVH: move self header to be the first oneSergey Sharybin
This makes us more sure that header files are more self-sufficient.
2017-04-13Cycles: Split BVH implementations into separate filesSergey Sharybin
2017-04-13Cycles: Use more explicit and commonly used names for BVH structuresSergey Sharybin
This renames BinaryBVH to BVH2 and QBVH to BVH8. There is no user measurable difference, but allows us to add more types of BVH trees such as BVH8.
2017-04-11Cycles: Only calculate global size of split kernel once to avoid changesMai Lavelle
Global size depends on memory usage which might change during rendering. Havent seen it happen but seems possible that this could cause the global size to be different than what was used for allocating buffers.
2017-04-11Cycles: Implement automatic global size for CUDA split kernelMai Lavelle
Not sure this is the best way to do things for CUDA but its much better than being unimplemented.
2017-04-11Cycles: Fix the AO replacement option in the split kernelLukas Stockner
Currently the code for it was inside the hair-specific part, so it wouldn't be enabled in hairless renders.
2017-04-10Cycles: Fix race condition in shader attribute for real nowSergey Sharybin
Ended up moving lock in the more centralized space since multiple shaders can access this map.
2017-04-10Cycles: Apparently board name could be an empty stringSergey Sharybin
2017-04-10Cycles: Workaround cubic volume filtering crashing on LinuxSergey Sharybin
The issue was caused by recent change in inline policy. There is some sort of memory corruption happening here, ASAN suggests it's stack overflow issue. Not quite sure why it is happening tho and was not able to solve anything here yet in the past hours. Committing fix which works with a big TODO note. The issue is visible on AVX2 machine when rendering cycles_reports_test.
2017-04-10Cycles: Fix compilation error of AVX2 kernels with SSE optimization disabledSergey Sharybin
2017-04-10Cycles: Cleanup, indentation and trailing whitespaceSergey Sharybin
2017-04-08Cycles: Fix building of CUDA kernels with compilers where C++11 is disabledMai Lavelle
2017-04-07Cycles: Fix warning with MSVCSergey Sharybin
2017-04-07Cycles: Fix compilation error with certain CUDA and host compiler configurationSergey Sharybin
This seems to happen on Windows only, happened to Thomas and Nathan already. Similar patch Thomas was showing, but i do not see it committted. So comitting now in order to get more developers and users happy.
2017-04-07[Cycles/msvc] Get cycles_kernel compile time under control.lazydodo
Ever since we merged the extra texture types (half etc) and spit kernel the compile time for cycles_kernel has been going out of control. It's currently sitting at a cool 1295.762 seconds with our standard compiler (2013/x64/release) I'm not entirely sure why msvc gets upset with it, but the inlining of matrix near the bottom of the tri-cubic 3d interpolator is the source of the issue, this patch excludes it from being inlined. This patch bring it back down to a manageable 186 seconds. (7x faster!!) with the attached bzzt.blend that @sergey kindly provided i got the following results with builds with identical hashes 58:51.73 buildbot 58:04.23 Patched it's really close, the slight speedup could be explained by the switch instead of having multiple if's (switches do generate more optimal code than a chain of if/else/if/else statements) but in all honesty it might just have been pure luck (dev box,very polluted, bad for benchmarks) regardless, this patch doesn't seem to slow down anything with my limited testing. {F532336} {F532337} Reviewers: brecht, lukasstockner97, juicyfruit, dingto, sergey Reviewed By: brecht, dingto, sergey Subscribers: InsigMathK, sergey Tags: #cycles Differential Revision: https://developer.blender.org/D2595
2017-04-07Libmv: Correction to previous commitSergey Sharybin
We do need to make a copy of the values.
2017-04-07Libmv: Fix crash of keyframe selection on 32bit linuxSergey Sharybin
2017-04-07Cycles: Fix access of NULL pointer as arraySergey Sharybin
Was confusing guarded allocator for some reason.
2017-04-07Cleanup: Unused functionSergey Sharybin
2017-04-07Cycles: Fix corrupted mesh render when topology differs at the next frameSergey Sharybin
2017-04-07Cycles: Change work pool and global size of split CPU for easier debuggingMai Lavelle
2017-04-07Cycles: Fix indentationMai Lavelle
2017-04-07Cycles: Add missing flushMai Lavelle
2017-04-07Cycles: Check ray state properly to avoid endless loopMai Lavelle
The state mask wasnt applied before comparison giving false results. It shouldnt really happen that a ray state contains any flags that need to be masked away, but if it does happen its better to not get stuck.
2017-04-05Cycles: Fix race condition in attributes creation during SVM compilationSergey Sharybin
2017-04-05Cycles: Add utility class to simplify scoped spin locksSergey Sharybin
2017-04-05Cycles: Guard global write access in SVM compilation codeSergey Sharybin
2017-04-05Locales: Some optimization workSergey Sharybin
Mainly visible for MSVC debug builds and gives about 2x speedup.
2017-04-04Cycles: Tag shaders for update after the threading part is overSergey Sharybin
This avoids write access happening in non-atomic manner in Shader::tag_update which modifies the global managers. Even for 1 byte data types it's quite dangerous.
2017-04-04Cycles: Fix uninitialized memory access when comparing curve mapping nodesSergey Sharybin
The issue is coming from the fact that float3 is actually 16 bytes aligned data type and the "padding" was not initialized. This caused memcmp() to access non-initialized memory.
2017-04-03Fix T51115: Bump node is broken when the displacement socket is usedSergey Sharybin
2017-03-31Cycles: Solve threading conflict in shader synchronizationSergey Sharybin
Update tag might access links (when checking for attributes) and the links might be in the middle of rebuild in simplification logic.
2017-03-31Cycles: More fixes after include changesMai Lavelle
2017-03-30Cycles: Fix missing kernel re-compilation after recent changesSergey Sharybin
Reported by Mai in IRC, thanks!
2017-03-30Fix T51051: Incorrect render on 32bit LinuxSergey Sharybin
The issue was apparently caused by -fno-finite-math-only added to kernel.cpp CFLAGS. For now just removed this flag from the kernel (we don't really want it there at this point, and we don't have it for SSE/AVX optimized kernels). But surely more investigation is needed here.
2017-03-30Cycles: Cleanup, rename RegularBVH to BinaryBVHSergey Sharybin
Makes it more explicit what the structure is from it's name.
2017-03-29Cycles: Fix compilation error of app after the include directories changeSergey Sharybin
2017-03-29Cycles: Attempt to work around compilation errors of CUDA on sm_2xSergey Sharybin
2017-03-29Cycles: Cleanup, indentationSergey Sharybin
2017-03-29Cycles: Remove toolkit-specific workaround from kernelSergey Sharybin
2017-03-29Cycles: Only use CUDA 8.0 as officially supported oneSergey Sharybin
This deprecates CUDA 7.5.
2017-03-29Cycles: Cleanup, don't use m_ prefix for public propertiesSergey Sharybin
2017-03-29Cycles: Fix compilation error with visibility flag disabledSergey Sharybin
2017-03-29Cycles: Make all #include statements relative to cycles source directorySergey Sharybin
The idea is to make include statements more explicit and obvious where the file is coming from, additionally reducing chance of wrong header being picked up. For example, it was not obvious whether bvh.h was refferring to builder or traversal, whenter node.h is a generic graph node or a shader node and cases like that. Surely this might look obvious for the active developers, but after some time of not touching the code it becomes less obvious where file is coming from. This was briefly mentioned in T50824 and seems @brecht is fine with such explicitness, but need to agree with all active developers before committing this. Please note that this patch is lacking changes related on GPU/OpenCL support. This will be solved if/when we all agree this is a good idea to move forward. Reviewers: brecht, lukasstockner97, maiself, nirved, dingto, juicyfruit, swerner Reviewed By: lukasstockner97, maiself, nirved, dingto Subscribers: brecht Differential Revision: https://developer.blender.org/D2586
2017-03-29Cycles: Attempt to workaround compilation error on new CUDA toolkit and sm_2xSergey Sharybin
2017-03-29Cycles: Bring back preview AA samples when using BPTSergey Sharybin
This was removed in 93426cb. Please be more accurate when changing interface.
2017-03-28Fix T51068: Place props in their own rowAaron Carlisle
This allows the props to extend into the blank space that is to the right.
2017-03-28Cycles: Switch to reformulated Pluecker ray/triangle intersectionSergey Sharybin
The intention of this commit it to address issues mentioned in the reports T43865,T50164 and T50452. The code is based on Embree code with some extra vectorization to speed up single ray to single triangle intersection. Unfortunately, such a fix is not coming for free. There is some slowdown for AVX2 processors, mainly due to different vectorization code, which caused different number of instructions to be executed and different instructions-per-cycle counters. But on another hand this commit makes pre-AVX2 platforms such as AVX and SSE4.1 a bit faster. The prerformance goes as following: 2.78c AVX2 2.78c AVX Patch AVX2 Patch AVX BMW 05:21.09 06:05.34 05:32.97 (+3.5%) 05:34.97 (-8.5%) Classroom 16:55.36 18:24.51 17:10.41 (+1.4%) 17:15.87 (-6.3%) Fishy Cat 08:08.49 08:36.26 08:09.19 (+0.2%) 08:12.25 (-4.7% Koro 11:22.54 11:45.24 11:13.25 (-1.5%) 11:43.81 (-0.3%) Barcelone 14:18.32 16:09.46 14:15.20 (-0.4%) 14:25.15 (-10.8%) On GPU the performance is about 1.5-2% slower in my tests on GTX1080 but afraid we can't do much as a part of this chaneg here and consider it a price to pay for more proper intersection check. Made in collaboration with Maxym Dmytrychenko, big thanks to him! Reviewers: brecht, juicyfruit, lukasstockner97, dingto Differential Revision: https://developer.blender.org/D1574
2017-03-28Cycles: Pass m128 vectors by const referenceSergey Sharybin
2017-03-27Cleanup: Use upper case consistently in adaptive feature compile logging.Thomas Dinges