Skip to content

intel: Align workaround address to 32B

The workaround address is used as a source for push constants when there's no resource available, that address must be 64B aligned.

This fixes invalid address being used for buffers in 3DSTATE_CONSTANT_* packets.

For consistency do something similar for anv/hasvk drivers.

Thanks to Xiaoming Wang that contributed to find and fix this issue.

Edited by Caio Oliveira

Merge request reports