This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/gpu
Jeroen Bakker 87055dc71b GPU: Compute Pipeline.
With the compute pipeline calculation can be offloaded to the GPU.
This patch only adds the framework for compute. So no changes for users at
this moment.

NOTE: As this is an OpenGL4.3 feature it must always have a fallback.

Use `GPU_compute_shader_support` to check if compute pipeline can be used.
Check `gpu_shader_compute*` test cases for usage.

This patch also adds support for shader storage buffer objects and device only
vertex/index buffers.

An alternative that had been discussed was adding this to the `GPUBatch`, this
was eventually not chosen as it would lead to more code when used as part of a
shading group. The idea is that we add an `eDRWCommandType` in the near
future.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D10913
2021-05-26 16:49:30 +02:00
..
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00
2021-05-21 22:23:07 +10:00
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00
2021-02-05 19:08:14 -08:00
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00
2020-10-02 11:59:16 +10:00
2021-05-26 16:49:30 +02:00
2020-08-18 21:30:09 +02:00
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00