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
AgeCommit message (Collapse)Author
2019-08-05Cycles: Fix compilation on 32bit Linux with GCC-9Sergey Sharybin
We don't use explicit SIMD flags on 32bit, so trying to use intrinsics was causing issues.
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-06Fix Cycles build error on non-x86 processors.Brecht Van Lommel
2018-11-09Cycles: Cleanup, spacing after preprocessorSergey Sharybin
It is supposed to be two spaces before comment stating which if else/endif statements corresponds to. Was mainly violated in the header guards.
2018-07-06Cleanup: strip trailing space for cyclesCampbell Barton
2018-02-01Cycles: Attempt to fix 32 bit linux compilationSergey Sharybin
2018-02-01Cycles: Fix for non-vectorized version of bitscan()Sergey Sharybin
It was doing bit search in an opposite direction comparing to a vectorized version.
2018-01-19Cycles: Remove unneeded include statementsSergey Sharybin
Also try to move them from headers to implementation files as much as possible.
2017-08-29Fix Cycles Windows render errors with BVH2 CPU rendering.Brecht Van Lommel
One problem is that it was always using __mm_blendv_ps emulation even if the instruction was supported. The other that the emulation function was wrong. Thanks a lot to Ray Molenkamp for tracking this one down.
2017-08-07Fix Windows build errors with recent Cycles SIMD refactoring.Brecht Van Lommel
2017-08-07Code refactor: use float4 instead of intrinsics for CPU denoise filtering.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2764
2017-08-07Code refactor: add, remove, optimize various SSE functions.Brecht Van Lommel
* Remove some unnecessary SSE emulation defines. * Use full precision float division so we can enable it. * Add sqrt(), sqr(), fabs(), shuffle variations, mask(). * Optimize reduce_add(), select(). Differential Revision: https://developer.blender.org/D2764
2017-08-07Code refactor: split defines into separate header, changes to SSE type headers.Brecht Van Lommel
I need to use some macros defined in util_simd.h for float3/float4, to emulate SSE4 instructions on SSE2. But due to issues with order of header includes this was not possible, this does some refactoring to make it work. Differential Revision: https://developer.blender.org/D2764
2017-05-08Cycles: Fix compilation error with gcc-6.3.0 and debug modeSergey Sharybin
2017-05-07Cycles: Implement denoising option for reducing noise in the rendered imageLukas Stockner
This commit contains the first part of the new Cycles denoising option, which filters the resulting image using information gathered during rendering to get rid of noise while preserving visual features as well as possible. To use the option, enable it in the render layer options. The default settings fit a wide range of scenes, but the user can tweak individual settings to control the tradeoff between a noise-free image, image details, and calculation time. Note that the denoiser may still change in the future and that some features are not implemented yet. The most important missing feature is animation denoising, which uses information from multiple frames at once to produce a flicker-free and smoother result. These features will be added in the future. Finally, thanks to all the people who supported this project: - Google (through the GSoC) and Theory Studios for sponsoring the development - The authors of the papers I used for implementing the denoiser (more details on them will be included in the technical docs) - The other Cycles devs for feedback on the code, especially Sergey for mentoring the GSoC project and Brecht for the code review! - And of course the users who helped with testing, reported bugs and things that could and/or should work better!
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
2016-11-22Cycles: Fix re-definition of some functions on x32 archSergey Sharybin
2016-10-12Cycles: Add new avxf vectorized data typeSergey Sharybin
Based on existing ssef data type and to my knowledge it's also what happens in Embree nowadays. Inspired by Maxym Dmytrychenko and required for the upcoming triangle intersection commit. Hopefully the copyright message is correct.
2016-10-02[Windows/Cycles/Clang] Fix compilation error with clang-cl on windowslazydodo
2016-03-31Cycles: Move non-vectorized bitscan() to utilSergey Sharybin
This way we can use bitscan() from both vectorized and non-vectorized code, which applies to both kernel and host code.
2015-07-23Cycles: Resolve compilation error of avx2 kernel with certain compilersSergey Sharybin
It was redefined macro happening with Clang 3.6 here.
2015-03-27Cycles: Code cleanup, spaces around keywordsSergey Sharybin
This inconsistency drove me totally crazy, it's really confusing when it's inconsistent especially when you work on both Cycles and Blender sides. Shouldn;t cause merge PITA, it's whitespace changes only, Git should be able to merge it nicely.
2014-12-25Cleanup: Fix Cycles Apache header.Thomas Dinges
This was already mixed a bit, but the dot belongs there.
2014-06-19Cycles: attempt to solve compilation error on 32bit OSXSergey Sharybin
2014-06-16Cycles: Slight modification to the previous commitSergey Sharybin
This way util_simd.cpp would not require modifications if/when SSE2 is suddenly supported on 32bit platforms. This also allowed to unleash some issues with util_simd.h related on the fact that there size_t and int are actually the same types.
2014-06-14Fix compilation in cyclesAntony Riakiotakis
2014-06-13Cycles Refactor: Add SSE Utility code from Embree for cleaner SSE code.Thomas Dinges
This makes the code a bit easier to understand, and might come in handy if we want to reuse more Embree code. Differential Revision: https://developer.blender.org/D482 Code by Brecht, with fixes by Lockal, Sergey and myself.
2014-05-04Style cleanup: indentation, bracesCampbell Barton
2014-04-03Cycles: SSE optimization for Voronoi cells textureSv. Lockal
Gives 5-6% speedup for Caterpillar_PatazStudio.blend. Reviewed By: brecht, dingto Differential Revision: https://developer.blender.org/D419
2014-03-23Cycles: SSE optimization for line segments/ribbons hairSv. Lockal
Gives ~11% speedup for hair.blend, ~10% for koro_final.blend Also extract few common subexpressions in hair calculation. Reviewed By: brecht Differential Revision: https://developer.blender.org/D318
2014-02-27Cycles: fix crash in SSE hair and half-floats on x86+vc2008Sv. Lockal
MSVC 2008 ignores alignement attribute when assigning from unaligned float4 vector, returned from other function. Now Cycles uses unaligned loads instead of casts for win32 in x86 mode.
2014-02-04Cycles: bvh_cardinal_curve_intersect intro SSE optimizationSv. Lockal
Gives 5% speedup for koro_final.blend, 10-15% for hair.blend Reviewed By: brecht Differential Revision: https://developer.blender.org/D225
2014-02-03Cycles: small optimization for SSE 4.1 bvh intersectorSv. Lockal
Gives 0.7% - 1.3% speedup for BMW1M-MikePan scene. Reviewers: juicyfruit Differential Revision: https://developer.blender.org/D280
2014-02-01Cycles: less instructions for CPU perlin codeSv. Lockal
Also move shuffle() in bvh traversal back (was accidentally lost in SSE hair revert)
2014-01-12Cycles: SSE for Voronoi textures (targeted for Haswell CPUs)Sv. Lockal
Gives up to 15% speedup scenes with voronoi-based textures (up to 25% with volumes) on Haswell. The performance change for other CPUs is much smaller: 1-2%. Reviewed By: brecht Differential Revision: https://developer.blender.org/D203
2014-01-11Code Cleanup: in Cycles SSE replace macros with templates, skip unused code ↵Sv. Lockal
with preprocessor, simplify casts
2014-01-06Cycles: SSE optimization for sRGB conversion (gives 7% speedup on CPU for ↵Sv. Lockal
pavillon_barcelone scene) Thanks brecht/dingto/juicyfruit et al. for testing and reviewing this patch in T38034.
2013-12-28Cycles: Move SIMD utility functions into its own file.Thomas Dinges
Recently added SSE macros for noise texture can be moved here as well, but I leave this for later.