Skip to content

CL: Add support for global memory vector load/store

Boris Brezillon requested to merge ms/global-mem-vec-support into msclc-d3d12

New version that tries to split up the lower_{load,store}_global() logic so some of it can be re-used for local and constant memory.

Note that I went through various attempts at simplifying it even more, like splitting the 'lower into sub-16byte accesses', 'lower non-32bit component extraction' and 'lower load/store global to their dxil equivalent' into separate passes, but the code was not much cleaner, so I decided to go back to a 'do it all in one step' approach.

/cc @kusma @daniels

Edited by Daniel Stone

Merge request reports

Loading