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
2017-03-21Cycles: Simplify some extra OpenCL query codeSergey Sharybin
2017-03-21Cycles: Cleanup, add some utility functions to shorten access to low level APISergey Sharybin
Should be no functional changes.
2017-03-21Cycles: Fix wrong vector allocation in the mesh sync codeLukas Stockner
2017-03-21Cycles: Fix building of OpenCL kernelsMai Lavelle
Theres no overloading of functions in OpenCL so we can't make use of `safe_normalize` with `float2`.
2017-03-20Fix T50268: Cycles allows to select un supported GPUs for OpenCLSergey Sharybin
2017-03-20Cycles: Update remaining time once per second without waiting for a tile changeLukas Stockner
Previously, the code would only update the status string if the main status changed. However, the main status did not include the remaining time, and therefore it wasn't updated until the amount of rendered tiles (which is part of the main status) changed. This commit therefore makes the BlenderSession remember the time of the last status update and forces a status update if the last one was more than a second ago. Reviewers: sergey Differential Revision: https://developer.blender.org/D2465
2017-03-20Fix T50975: Cycles: Light sampling threshold inadvertently clamps negative lampsSergey Sharybin
2017-03-20Fix T50990: Random black pixels in Cycles when rendering material with ↵Sergey Sharybin
Multiscatter GGX
2017-03-20Remove register_module use in CyclesCampbell Barton
2017-03-17Fix T50968: Cycles crashes when image datablock points to a directorySergey Sharybin
See more details about root of the cause there: https://github.com/OpenImageIO/oiio/pull/1640
2017-03-17Cycles: Fix mistake in previous split kernel commitsSergey Sharybin
Own stupid mistake. Reported by nirved in IRC, thanks!
2017-03-17Cycles: Cleanup, indentationSergey Sharybin
2017-03-17Cycles: Fix compilation error of LCG RNGSergey Sharybin
2017-03-17Cycles: Silence strict compiler warningSergey Sharybin
2017-03-17Cycles: Improve memory usage of CPU split kernel by using smaller global sizeMai Lavelle
2017-03-17Cycles: Fix handling of barriersMai Lavelle
2017-03-16Cycles: Define ccl_local variables in kernel functionsSergey Sharybin
Declaring ccl_local in a device function is not supported by certain compilers.
2017-03-16Cycles: Workaround for compilation error caused by passing KernelGlobalsSergey Sharybin
Pass globals as a bare pointer, same as it sued to be prior to split kernel rework. AMD CPU platform and Intel OpenCL were complaining about this. Perhaps we shouldn't pass globals as pointer at all, this isn't something what is really portable and can cause issues on 32 bit perhaps.
2017-03-16Cycles: Avoid some ccl_local in various kernelsSergey Sharybin
2017-03-16Cycles: Adjust global size for OpenCL CPU devices to make them fasterMai Lavelle
2017-03-15Cycles: Allow rendering a range of resumable chunksSergey Sharybin
The range is controlled using the following command line arguments: --cycles-resumable-start-chunk --cycles-resumable-end-chunk Those are 1-based index of range for rendering.
2017-03-15Cycles: Use argument parser for resumable render featureSergey Sharybin
Currently there is no functional changes, but we will be adding couple more of options here soon.
2017-03-14Cycles: Cleanup, indentationSergey Sharybin
2017-03-14Cycles: Try to avoid infinite loops by catching invalid ray statesMai Lavelle
2017-03-13Cycles: Cleanup, wipe obviously outdated parts of split kernel commentsSergey Sharybin
2017-03-13fix msvc warnings about unknown opencl pragmaslazydodo
2017-03-13Cycles: Add missing header in the fileSergey Sharybin
2017-03-13Fixed a bug that caused an additional white diffuse closure call when usingSchoen
path tracing.
2017-03-13Fix T50925: Add AO approximation to split kernelHristo Gueorguiev
2017-03-13Cycles: Make MESA compiler more happySergey Sharybin
While this compiler is not officially supported yet, getting it to work is a nice thing because more and more AMD cards will fall under MESA driver. It's also nice to use explicit comparison with NULL, which makes it more clear whether variable is a boolean or pointer. Even Rust enforces this! Patch by Ian Bruce with own modifications.
2017-03-12Fix T50628: gray out cycles device menu when no device configured only for ↵Brecht Van Lommel
GPU Compute.
2017-03-11Fix T50888: Numeric overflow in split kernel state buffer size calculationMai Lavelle
Overflow led to the state buffer being too small and the split kernel to get stuck doing nothing forever.
2017-03-11Fix OpenCL warnings about doubles on some platforms.Brecht Van Lommel
2017-03-10Cycles: Cleanup, extra semicolon and spaceSergey Sharybin
2017-03-10Cycles: Enable SSS and volumes for CUDA and Nvidia OpenCL split kernelMai Lavelle
2017-03-09Cycles: add single program debug option for split kernelHristo Gueorguiev
Single program generally compiles kernels faster (2-3 times), loads faster, takes less drive space (2-3 times), and reduces the number of cached kernels.
2017-03-09Cycles: split kernel_shadow_blocked to AO & DL partsHristo Gueorguiev
Reduces memory allocation for split kernel. This allows for faster rendering due to bigger global size, specially when GPU memory is limited. Perfromance results: R9 290 total render time Before After Change BMW 4:37 4:34 -1.1 % Classroom 14:43 14:30 -1.5 % Fishy Cat 11:20 11:04 -2.4 % Koro 12:11 12:04 -1.0 % Pabellon Barcelona 22:01 20:44 -5.8 % Pabellon Barcelona(*) 15:32 15:09 -2.5 % (*) without glossy connected to volume
2017-03-09Cycles: Speedup transparent shadows in split kernelHristo Gueorguiev
This commit enables record-all transparent shadows rays. Perfromance results: R9 290 render time (without synchronization), seconds Before After Change BMW 261.5 262.5 +0.4 % Classroom 869.6 867.3 -0.3 % Fishy Cat 657.4 639.8 -2.7 % Koro 1909.8 692.8 -63.7 % Pabellon Barcelona 1633.3 1238.0 -24.2 % Pabellon Barcelona(*) 1158.1 903.8 -22.0 % (*) without glossy connected to volume
2017-03-09Cycles: SSS and Volume rendering in split kernelHristo Gueorguiev
Decoupled ray marching is not supported yet. Transparent shadows are always enabled for volume rendering. Changes in kernel/bvh and kernel/geom are from Sergey. This simiplifies code significantly, and prepares it for record-all transparent shadow function in split kernel.
2017-03-09Cycles: Fix CUDA build error for some compilersMai Lavelle
Needed to include `util_types.h` before using `uint`.
2017-03-08Cycles: Make it more obvious message which initialization failedSergey Sharybin
2017-03-08Cycles: Use 1-based line number for #line directivesSergey Sharybin
AMD CPU platform was complaining about #line 0 directives in the code.
2017-03-08Cycles: Log which device kernels are being loaded forSergey Sharybin
2017-03-08Cycles: Make it possible to access KernelGlobals from split data ↵Sergey Sharybin
initialization function
2017-03-08Cycles: Cleanup, remove residue of previous split kernel dataSergey Sharybin
This is all in split data state array.
2017-03-08Cycles: Fix indentationMai Lavelle
2017-03-08Cycles: Fix strict warning about unused variableMai Lavelle
2017-03-08Cycles: Calculate size of split state buffer kernel sideMai Lavelle
By calculating the size of the state buffer in the kernel rather than the host less code is needed and the size actually reflects the requested features. Will also be a little faster in some cases because of larger global work size.
2017-03-08Cycles: Fix crash after failed kernel buildMai Lavelle
Pointers to kernels were uninitialized leading to freeing of random memory addresses. Another reason it would be good to use smart pointers.
2017-03-08Cycles: Faster building of split kernelMai Lavelle
Simple change to make it so that only kernels that have been modified are rebuilt. Might only be useful during development.