Skip to content

nir/opt_constant_folding: fix array size define, pt 2

Alyssa Rosenzweig requested to merge alyssa/mesa:nir/const-fold-srcs into main

What does this MR do and why?

nir/opt_constant_folding: fix array size define, pt 2

In practice these are equal but the old code was semantically wrong: that
dimension is "sources" not "components". Use the correct #define.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Suggested-by: Georg Lehmann <dadschoorse@gmail.com>

Merge request reports

Loading