Skip to content

microsoft/compiler: fix num_psv_outputs calculation

Erik Faye-Lund requested to merge kusma/mesa:d3d12-psv-output-fix into main

Rather surprisingly, the value stored in the NumVectors field of the DXIL PSV header isn't the number of vectors, but rather the maximum vector used.

This makes a difference when we're not writing to the first element of an array, where we would previously generate a validation error.

Edited by Erik Faye-Lund

Merge request reports