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/opengl
Jeroen Bakker 6b03621c01 DrawManager: Use Compute Shader to Update Hair.
This patch will use compute shaders to create the VBO for hair.
The previous implementation uses transform feedback.

Timings before: between 0.000069s and 0.000362s.
Timings after:  between 0.000032s and 0.000092s.

Speedup isn't noticeable by end-users. The patch is used to test
the new compute shader pipeline and integrate it with the draw
manager. Allowing EEVEE, Workbench and other draw engines to
use compute shaders with the introduction of `DRW_shgroup_call_compute`
and `DRW_shgroup_vertex_buffer`.

Future improvements are possible by generating the index buffer
of hair directly on the GPU.

NOTE: that compute shaders aren't supported by Apple and still use
the transform feedback workaround.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D11057
2021-05-28 08:16:26 +02:00
..
2021-05-26 16:49:30 +02:00
2021-05-06 08:09:05 +10:00
2021-05-06 08:09:05 +10:00
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00
2021-03-18 09:36:44 +11:00
2020-09-10 14:19:00 +02:00
2021-05-06 08:09:05 +10: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-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00
2021-02-21 01:33:56 +01:00
2021-05-26 16:49:30 +02:00
2021-05-26 16:49:30 +02:00