Skip to content

intel/fs: switch scratch surfaces to surface state heap

In 4ceaed78 we made scratch surface state allocations part of the internal heap (mapped to STATE_BASE_ADDRESS::SurfaceStateBaseAddress) so that it doesn't uses slots in the application's expected 1M descriptors (especially with vkd3d-proton).

But all our compiler code relies on BSS (STATE_BASE_ADDRESS::BindlessSurfaceStateBaseAddress).

We have to make this configurable as Iris uses the bindless heap for scratch.

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Fixes: 4ceaed78 ("anv: split internal surface states from descriptors") Closes: #7687 (closed)

Merge request reports