Skip to content

rusticl/kernel: assign sampler locations before DCEing variables

This fixes an issue hit by one of darktable's kernels, where the sampler argument got assigned the location of a dead kernel parameter turning it into a zombie and leading us to trash the kernel input buffer's layout.

Fixes: 25b8a34b ("rusticl/kernel: inline samplers")

Edited by Karol Herbst

Merge request reports