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
2015-10-12Fix T46447: fix build on non-x86 platforms.Brecht Van Lommel
2015-10-11Cycles: Gracefully handle out-of-memory happening in device vectorSergey Sharybin
Currently only image loading benefits of this and will give magenta color when image manager detects it's running out of memory. This isn't ideal solution and can't handle all cases. For example, OOM killer might kill process before it realized it run out of memory, but in other cases this could prevent some crashes. Reviewers: juicyfruit, dingto Differential Revision: https://developer.blender.org/D1502
2015-10-09Cycles: Fix compilation error of CUDA kernel after recent decomposition changesSergey Sharybin
2015-10-09Cycles: Fix issues with quick inverse of degenerate matrixSergey Sharybin
This fixes part of the issues reported in T46322. Still need to solve issue with wrong intersection distance scaling.
2015-08-24Cycles: Implement reseve() for aligned array classSergey Sharybin
The title says it all actually, just support reserving memory in the array class.
2015-08-04Cycles: Remove 32bit cuda workaroudn and disable cubins for buildbotSergey Sharybin
Recent changes to kernel broke compilation of the kernels again, need some other kind of solution for this issue. Don't have much time for this currently, but will be addressed before the release. Meanwhile it's better to have some buildbot builds instead of totally failing one.
2015-07-28Cycles: Add implementation of clip extension modeSergey Sharybin
For now there's no OpenCL support, it'll come later.
2015-07-28Cycles: Correction to image extension setting commitSergey Sharybin
Technically it was all wrong and it should have been called Extend instead of Clip. Got confused by the naming in different libraries. More options are still to come.
2015-07-27Cycles: Final-ish tweaks for 32bit cubin compilationSergey Sharybin
2015-07-27Cycles: One more attempt to fix compilation of 32bit CUDA kernelsSergey Sharybin
2015-07-23Cycles: Resolve compilation error of avx2 kernel with certain compilersSergey Sharybin
It was redefined macro happening with Clang 3.6 here.
2015-07-21Cycles: Expose image image extension mapping to the image managerSergey Sharybin
Currently only two mappings are supported by API, which is Repeat (old behavior) and new Clip behavior. Internally this extension is being converted to periodic flag which was already supported but wasn't exposed. There's no support for OpenCL yet because of the way how we pack images into a single texture. Those settings are not exposed to UI or anywhere else and there should be no functional changes so far.
2015-07-21Cycles: Implement camera zoom motion blurSergey Sharybin
Works totally similar to camera motion blur and majority of the changes are related on just passing extra arguments to sync() functions. Couple of things still to look into: - Motion pass will not include motion caused by the zoom. - Only perspective cameras are supported currently. - Motion is being interpolated on projected coordinates, which might give different results from constructing projection matrix from interpolated field of view. This could be good enough for us, but we need to consider improving this at some point. Reviewers: juicyfruit, dingto Reviewed By: dingto Differential Revision: https://developer.blender.org/D1383
2015-06-28Cycles: Add assert to an array at() function to be sure we don't have bad ↵Sergey Sharybin
memory access
2015-06-28Cycles: Minor code style cleanup, whitesacesSergey Sharybin
2015-06-27Cycles: Use aligned blender allocator when using guarded allocationSergey Sharybin
This way we solve possible issues caused by regular allocator not being aware of some classes preferring 16 bytes alignment needed for SSE to work properly. This caused random crashes during rendering. Now we always use aligned allocation in GuardedAllocator which shouldn't be any measurable performance impact and the code is only used by developers after defining special symbol, so there is no impact on release builds at all.
2015-06-27Cycles: Allow using custom allocators for vector classSergey Sharybin
2015-06-17Cycles: Report total and render time to the logSergey Sharybin
This includes total render time spent on rendering since render() was invoked and also prints time of actual rendering (without synchronization step).
2015-06-01Cycles: Number keys 0-3 can be used in interactive mode now to set max bounces.Thomas Dinges
2015-06-01Cycles: Code cleanup, spaces around keyword and braceSergey Sharybin
2015-05-22Cycles: Remove TM / R and whitespace from OpenCL device names.Thomas Dinges
Was already done for CPU devices, now we also do this for OpenCL.
2015-05-21Cycles: Move utility atomics function to util_atomic.hSergey Sharybin
No functional changes, just better to keep all atomic function in a single place, they might become handy later.
2015-05-17Cycles Standalone: Update help screen.Thomas Dinges
2015-05-14Cycles: Add transformation functions with specified addrspaceSergey Sharybin
This is required for OpenCL prior to 2.0 and those functions will become handy when working on camera/motion blur support in split kernel.
2015-05-11Cycles: check for F16C support with __cpuid, as we do for BMI and BMI2Sv. Lockal
2015-05-10Cycles: And yet another compilation fix after half-float commit for clang.Sv. Lockal
Suggested by Brecht, tested with gcc > 4.4 and Clang
2015-05-10Cycles: fix compilation on 32-bit Windows for half-floatsSv. Lockal
Reported by IRC user HG1.
2015-05-10Cycles: Use native float->half conversion instructions for Haswell CPUs.Sv. Lockal
This makes OCIO viewport color correction a little bit faster (about -0.5s for 100 samples) Also set max half float value to 65504.0 to conform with IEEE 754.
2015-05-05Cycles: Fix for wrong clamp usage in fast mathSergey Sharybin
2015-04-30Fix T44548: Cycles Tube Mapping off / not compatible with BISergey Sharybin
Was a typo in original implementation, probably a result of some code reshuffle happened for optimization reasons.
2015-04-29Cycles: Fix crashes when loading cache created with pre-leaf split buildsSergey Sharybin
2015-04-27Cycles: Use native saturate function for CUDASergey Sharybin
This more a workaround for CUDA optimizer which can't optimize clamp(x, 0, 1) into a single instruction and uses 4 instructions instead. Original patch by @lockal with own modification: Don't make changes outside of the kernel. They don't make any difference anyway and term saturate() has a bit different meaning outside of kernel. This gives around 2% of speedup in Barcelona file, but in more complex shader setups with lots of math nodes with clamping speedup could be much nicer. Subscribers: dingto Projects: #cycles Differential Revision: https://developer.blender.org/D1224
2015-04-10Cycles: Make transform from viewplane a generic utility functionSergey Sharybin
2015-04-06Cycles: de-duplicate fast/approximate erf function calculationSergey Sharybin
Our own implementation is in fact the same performance as in fast_math from OpenShadingLanguage, but implementation from fast_math is using explicit madd function, which increases chance of compiler deciding to use intrinsics.
2015-04-02Cycles: Make guarded allocator happy about strict C++ flagsSergey Sharybin
2015-03-30Cycles: Correction to previous commit: non-msvc compilers also should use ↵Sergey Sharybin
nullptr
2015-03-30Cycles: Fix compilation error with MSVC after recent C++11 changesSergey Sharybin
2015-03-29Optionally use c++11 stuff instead of boost in cycles where possible. We do ↵Martijn Berger
and continue to depend on boost though Reviewers: dingto, sergey Reviewed By: sergey Subscribers: #cycles Differential Revision: https://developer.blender.org/D1185
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.
2015-03-27Cycles: Code cleanup, prepare for strict C++ flagsSergey Sharybin
2015-03-13Initial compilation support with C++11 featureset enabledSergey Sharybin
This commit makes some preliminary fixes and tweaks aimed to make blender compilable with C++11 feature set. This includes: - Build system attribute to enable C++11 featureset. It's for sure default OFF, but easy to enable to have a play around with it and make sure all the stuff is compilable before we go C++11 for real. - Changes in Compositor to use non-named cl_int structure fields. This is because __STRICT_ANSI__ is defined by default by GCC and OpenCL does not use named fields in this case. - Changes to TYPE_CHECK() related on lack of typeof() in C++11 This uses decltype() instead with some trickery to make sure returned type is not a reference. - Changes for auto_ptr in Freestyle This actually conditionally switches between auto_ptr and unique_ptr since auto_ptr is deprecated in C++11. Seems to be not strictly needed but still nice to be ready for such an update anyway/ This all based on changes form depsgraph_refactor branch apart from the weird changes which were made in order to support MinGW compilation. Those parts of change would need to be carefully reviewed again after official move to gcc49 in MinGW. Tested on Linux with GCC-4.7 and Clang-3.5, other platforms are not tested and likely needs some more tweaks. Reviewers: campbellbarton, juicyfruit, mont29, lukastoenne, psy-fi, kjym3 Differential Revision: https://developer.blender.org/D1089
2015-03-07Cycles: add better specializations for SSE shuffle function and few more ↵Sv. Lockal
wrappers.
2015-03-07Fix T41066: An actual fix for curve intersection on FMA-enabled CPUsSv. Lockal
2015-02-19Cycles: Use size_t for aligned allocatorSergey Sharybin
Seems it got changes by accident to int during guarded allocation work, causing bad memory allocations.
2015-02-19Cycles: Make sphere and tube image mapping friendly with OpenCLSergey Sharybin
OpenCL doesn't let you to get address of vector components, which is kinda annoying. On the other hand, maybe now compiler will have more chances to optimize something out.
2015-02-19Cycles: Make util_math_fast.h compatible with OpenCLSergey Sharybin
2015-02-18Cycles: Make aligned allocation to respect WITH_BLENDER_GUARDEDALLOCSergey Sharybin
Title pretty says it all actually. Can only briefly mention that we're indeed entering that state when after applying some WIP patches having much fuller statistics about memory usage would help giving exact memory benefit.
2015-02-18CMake: picky style editCampbell Barton
'cmake_consistency_check.py' relies on this formattng.
2015-02-18Cleanup: Remove support for Boost filesystem 2.Thomas Dinges
This is deprecated since Boost 1.48.
2015-02-16Cycles: Correction for C++11 compilation error after recent vector changesSergey Sharybin