EEVEE-Next: Fix motion blur large geom on iGPU HD520 devices #120915

Merged
Jeroen Bakker merged 8 commits from Jeroen-Bakker/blender:eevee/fix/copy-velocity-groups into main 2024-05-06 17:02:37 +02:00

8 Commits

Author SHA1 Message Date
Jeroen Bakker 91c5533cb1 Use gl_WorkGroupSize.x
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-05-06 08:27:34 +02:00
Jeroen Bakker 2ddb76288d Merge branch 'main' into eevee/fix/copy-velocity-groups 2024-05-06 08:20:47 +02:00
Jeroen Bakker 740c0b3d4c Fix division.
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-04-23 12:19:28 +02:00
Jeroen Bakker 8359563685 Fix incorrect division 2024-04-23 11:42:46 +02:00
Jeroen Bakker 3ef21dda3e Fix incorrect division. 2024-04-23 11:28:32 +02:00
Jeroen Bakker 684c73c3a8 Moved for loop to copy shader 2024-04-23 10:53:30 +02:00
Jeroen Bakker aeb1e98b43 Merge branch 'main' into eevee/fix/copy-velocity-groups 2024-04-23 09:46:17 +02:00
Jeroen Bakker 74b128dd6d EEVEE-Next: Fix motion blur large geom on low end devices
Detected when testing mr_elephant on an Intel HD520. When copying
the velocity buffer using the copy shader, the number of scheduled
workgroups could be larger than supported by the device.

This PR fixes this by splitting the copy pass in multiple smaller
passes so the velocity is copied.

NOTE: I didn't went for the approach to add a new workgroup dimension
as that would lead to more overhead when using more smaller meshes. I
would assume these devices would more often be used with scenes with
smaller geometry.
2024-04-22 10:06:54 +02:00