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/intern
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-26 16:49:30 +02:00
2021-05-06 08:09:05 +10:00
2020-10-02 11:59:16 +10:00
2021-04-30 15:24:46 +10:00
2021-05-04 00:44:53 +10:00
2021-03-04 16:58:03 +11:00
2021-05-26 16:49:30 +02:00
2021-05-06 08:09:05 +10:00
2020-10-02 11:59:16 +10:00
2020-10-02 11:59:16 +10:00
2020-10-19 09:11:00 -07: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
2021-05-26 16:49:30 +02:00
2021-04-30 15:24:46 +10:00
2021-05-26 16:49:30 +02:00