diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-07-28 17:49:23 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-07-28 17:53:07 -0700 |
commit | 5ebea1031b1fe0a591c1f74ab63524d4afec6763 (patch) | |
tree | 72c8eacfe58232de2cbe0536984d41dcd8308343 /src/modules/moire | |
parent | 56dd0d460ec24bbc1b819b2dd4498abfb0850507 (diff) |
modules/*: use til_fragmenter_slice_per_cpu_x16() where applicable
Mechanical change switching til_fragmenter_slice_per_cpu() users
over to til_fragmenter_slice_per_cpu_x16(), except sparkler where
it's quite detrimental to performance.
Diffstat (limited to 'src/modules/moire')
-rw-r--r-- | src/modules/moire/moire.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/moire/moire.c b/src/modules/moire/moire.c index a06549c..853b106 100644 --- a/src/modules/moire/moire.c +++ b/src/modules/moire/moire.c @@ -67,7 +67,7 @@ static void moire_prepare_frame(til_module_context_t *context, til_stream_t *str { moire_context_t *ctxt = (moire_context_t *)context; - *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu }; + *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu_x16 }; for (unsigned i = 0; i < ctxt->setup->n_centers; i++) { ctxt->centers[i].x = cosf(ctxt->centers[i].seed + (float)ticks * .001f * ctxt->centers[i].dir); |