Skip to content

gallium/nir/tgsi: initialize file_max for inputs

Erik Faye-Lund requested to merge kusma/mesa:tgsi-max-inputs into main

When this was rewritten to support Vulkan, we stopped initializing file_max to -1 in the case of no inputs. This causes the draw module to go down a needlessly pessimistic case, printing an error while we're at it.

Fixes: 42b5cfdb ("gallivm/nir: fix vulkan vertex inputs")

Merge request reports

Loading