Skip to content

radeonsi: Use uniform location when calculating const_file_max.

Timur Kristóf requested to merge Venemo/mesa:radeonsi-uniform-loc into master

We noticed this problem while working on NIR support for Gallium Nine.

When there are NIR uniform variables whose location is explicitly set, radeonsi did not take that into account when calculating const_file_max, resulting in rendering glitches. This patch fixes that.

Signed-Off-By: Timur Kristóf

Merge request reports