Skip to content

zink: fix caching of shader variants with inlined uniforms

Mike Blumenkrantz requested to merge zmike/mesa:zink-inline_caching into main

attempting to read the inlined uniforms directly after the variant key using the size of the variant is not going to work since the variant union is (sometimes) much larger than the size of the actual struct being used, meaning that this would just copy a bunch of zeroes instead of the actual inlined uniforms

Fixes: 7f28775e ("zink: implement uniform inlining")

Merge request reports