Skip to content

iris: Fix the constant data address calculation

In 536727c4, we switched iris to patching the constant data address into the shader but, thanks to my lack of understanding how iris works, I got the calculation wrong. I didn't realize, we needed to call iris_bo_offset_from_base_address to get the BO offset from the start of instruction state base address.

Fixes: 536727c4 "iris: Patch constant data pointers into shaders" Closes: #3596 (closed)

Merge request reports