Skip to content

microsoft/compiler: Fix SSBO lowering

Boris Brezillon requested to merge ms/cl-fix-ssbo-lowering into msclc-d3d12

Offset has to be 4 byte aligned when doing a UAV access. Looks like WARP doesn't complain but it breaks on intel hardware, so let's fix that.

This fix makes lower_store/load_ssbo() wrappers almost empty, so let's inline the code and get rid of lower_load/store_ssbo_impl().

Signed-off-by: Boris Brezillon boris.brezillon@collabora.com

/cc @jenatali @kusma @daniels

Edited by Boris Brezillon

Merge request reports

Loading