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
2022-03-23EEVEE: Move Closure definitions to gpu_shader_codegen_lib.glsleevee-rewriteClément Foucault
This way they can be used as inputs to the closure eval functions.
2022-03-18Merge branch 'master' into eevee-rewriteClément Foucault
# Conflicts: # source/blender/draw/CMakeLists.txt # source/blender/draw/intern/DRW_gpu_wrapper.hh # source/blender/draw/intern/draw_manager_exec.c # source/blender/gpu/GPU_storage_buffer.h # source/blender/gpu/intern/gpu_storage_buffer.cc # source/blender/gpu/intern/gpu_storage_buffer_private.hh # source/blender/gpu/opengl/gl_storage_buffer.cc # source/blender/gpu/opengl/gl_storage_buffer.hh
2022-03-18DRW: gpu wrappers: Fix compilation in release modeClément Foucault
2022-03-18GPUTexture: Add Cube view as 2D arrayClément Foucault
This is useful to read/write to the textures directly using compute shaders and imageLoad/Store.
2022-03-18DRW: Expose stencil view in gpu_wrapperClément Foucault
2022-03-18Cleanup: DRW: Fix comments in DRW_gpu_wrapperClément Foucault
2022-03-18DRW: Add support for compute indirect command.Clément Foucault
This just expose the GPU API through DRW.
2022-03-18GPU: Add indirect dispatch support.Clément Foucault
This uses a StorageBuf as the source of indirect dispatch argument. The user needs to make sure the parameters are in the right order. There is no support for argument offset for the moment as there is no need for it. But this might be added in the future. Note that the indirect buffer is synchronized at the backend level. This is done for practical reasons and because this feature is almost always used for GPU driven pipeline.
2022-03-18GPU: StorageBuf: Add method to clear the buffer in place.Clément Foucault
This is a faster way to clear a buffer instead of reuploading new data. It is equivalent to `memset` and runs directly on the GPU. This is better to clear huge buffers and to avoid the sync cost of data upload.
2022-03-18Cleanup: GPUStorageBuf: Fix header licenseClément Foucault
2022-03-18Cleanup: SSBO: Rename ubo to ssbo in arguments.Clément Foucault
2022-03-18GPU: Add support for stencil buffer texturing mode.Clément Foucault
This adds the possibility to read the stencil buffer inside shaders. This is only available on GL 4.3 so use it accordingly.
2022-03-18GL: Check texture framebuffer feedback only if not using compute pipeline.Clément Foucault
This was getting in the way in multiple instances. Compute shaders dispatch are still made in the presence of the last bound framebuffer even if they do not interact with it.
2022-03-18GPUTexture: Fix bug in texture view creationClément Foucault
The switch case was based on an uninitialized value.
2022-03-18GL: Add missing format in image layout conversionClément Foucault
2022-03-18GPUShaderCreateInfo: Add explicit early_fragment_testClément Foucault
2022-03-18DRW: Add simple texture view wrappers to draw::TextureClément Foucault
2022-03-18GPUTexture: Expose layer & mip countClément Foucault
2022-03-18GLShader: Fix two small issues with compute shader generated codeClément Foucault
2022-03-18DRW: Add support for GPUStorageBuf in wrappersClément Foucault
# Conflicts: # source/blender/draw/engines/eevee/eevee_light.cc # source/blender/draw/engines/eevee/eevee_shadow.cc
2022-03-18DRW: Add support for GPUStorageBufClément Foucault
2022-03-18GPU/GL: Add StorageBuf implementationClément Foucault
Almost 1:1 identical to UniformBuf implementation.
2022-03-18GPUShader: Fix crash when compilation error is a linking errorClément Foucault
2022-03-18EEVEE: Add new experimental "EEVEE Next" optionClément Foucault
This is supposed to hold the latest improvement from the EEVEE rewrite branch. Note that a restart is necessary in order for the engine to appear. The registration code is a bit convoluted as it needs to be after the WM_init.
2022-03-18Animation: Blend To Default ImplementationChristoph Lendenfeld
Add a new operator to the Graph Editor that blends selected keyframes to their default value. The operator can be accessed from Key>Slider Operators>Blend To Default Value Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D9376 Ref: D9367
2022-03-18Merge branch 'master' into eevee-rewriteClément Foucault
# Conflicts: # source/blender/draw/CMakeLists.txt # source/blender/draw/engines/eevee/eevee_depth_of_field.c # source/blender/draw/engines/eevee/eevee_lightprobes.c # source/blender/draw/engines/eevee/eevee_lookdev.c # source/blender/draw/engines/eevee/shaders/effect_dof_bokeh_frag.glsl # source/blender/draw/engines/eevee/shaders/effect_dof_gather_frag.glsl # source/blender/draw/engines/eevee/shaders/effect_minmaxz_frag.glsl # source/blender/draw/engines/eevee/shaders/effect_translucency_frag.glsl # source/blender/draw/engines/eevee/shaders/lookdev_world_frag.glsl # source/blender/gpu/shaders/material/gpu_shader_material_object_info.glsl # source/blender/gpu/shaders/material/gpu_shader_material_tex_environment.glsl # source/blender/gpu/shaders/material/gpu_shader_material_texture_coordinates.glsl
2022-03-18Fix T96608: GPencil Simplify must check general Simplify switchAntonio Vazquez
As the grease pencil simplify is a subotion of general simplify, if the general switch is disabled, the grease pencil simplify must be disabled too. This patch also disable the UI panel.
2022-03-18EEVEE: Add new experimental "EEVEE Next" optionClément Foucault
This is supposed to hold the latest improvement from the EEVEE rewrite branch. Note that a restart is necessary in order for the engine to appear. The registration code is a bit convoluted as it needs to be after the WM_init.
2022-03-18Curves: Port reverse curves node to the new data-blockHans Goudey
Create a function on CurvesGeometry that can also be used for an edit mode operator in the future. Dealing with CustomData directly means the code is a bit more verbose than would be ideal, but this would be a simple thing to clean up in the future if we get an attribute API here. Also change the reverse node to first work on a read-only geometry component, and only get write access if there is a curve selected. Differential Revision: https://developer.blender.org/D14375
2022-03-18Cleanup: Remove unnecessary namespace usage, use constHans Goudey
2022-03-18Curves: Port fill curve node to the new data-blockHans Goudey
This will mostly just remove the overhead of converting to and from the old curves type, though it also does open some opportunities for multi-threading in the future.
2022-03-18Fix: Curves last evaluated segment is emptyHans Goudey
A mistake in 8538c69921662164. The offsets include the segment at the corresponding index, but the evaluated offset calculation was adjusting the offset for the second to last segment.
2022-03-18Curves: Port transform node to new data-blockHans Goudey
Make the new curves' translate and transform functions also affect the handle position attributes. Differential Revision: https://developer.blender.org/D14372
2022-03-18Fix UV's not aligning with image.Jeroen Bakker
This reverts a part of {rB33409f9f1cd42e899f2706fe7878e5e89b50d617}.
2022-03-18Cleanup: Redundant parenthesisSergey Sharybin
2022-03-18Cleanup: Compilation warningsSergey Sharybin
Mainly -Wset-but-unused-variable. Makes default compilation on macOS way less noisy. Differential Revision: https://developer.blender.org/D14357
2022-03-18EEVEE: Raytracing: Add back denoising stepClément Foucault
Still work in progress.
2022-03-18BLI: move CPPType to blenlibJacques Lucke
For more detail about `CPPType`, see `BLI_cpp_type.hh` and D14367. Differential Revision: https://developer.blender.org/D14367
2022-03-18Fix T96278: missing update after alpha socket connectionJacques Lucke
Differential Revision: https://developer.blender.org/D14299
2022-03-18Cleanup: Remove unused functionSergey Sharybin
2022-03-18Curves: Port handle type selection node to new data-blockHans Goudey
The node's structure isn't changed, it basically still works the same way. The use of virtual arrays could be optimized in the future if necessary.
2022-03-18Curves: Port Bezier Segment node to the new data-blockHans Goudey
Ref T95443
2022-03-18Fix resizing nodes not respecting the drag-startCampbell Barton
Resizing nodes used the cursor location when the event was triggered instead of the drag-start, harmless but means the drag location isn't under the cursor especially with a high drag threshold. Noticed when investigating other drag issues, unrelated to recent changes to drag behavior.
2022-03-18License headers: use SPDX identifiers in intern/itascCampbell Barton
Added license headers based on the original LGPL files from: gitlab.kuleuven.be/rob-itasc
2022-03-18Docs: add license text file for LGPL2.1Campbell Barton
2022-03-18Fix wrong documentation/UI text for NodeLinkKévin Dietrich
`RNA_def_struct_ui_text(srna, ...)` was reused for `is_valid` and `is_muted` which would set the documentation to theirs (actually to that of the last call). `RNA_def_property_ui_text(prop, ...)` should be used for the properties.
2022-03-18Fix typo in smooth brush tooltipKévin Dietrich
2022-03-18Cleanup: unused class members.Kévin Dietrich
2022-03-18Curves: Port convex hull node to new data-blockHans Goudey
This uses the evaluated positions calculations from 8538c69921662164677.
2022-03-18Cleanup: Remove unused includesHans Goudey