Skip to content

panvk: Eliminate unused vertex attributes

Faith Ekstrand requested to merge gfxstrand/mesa:panvk/fix-vertex-attribs into main

We use nir_assign_io_var_locations() which compacts the varyings and eliminates any unused input slots. We need to do the same thing when processing pVertexAttributeDescriptions[] or else we'll end up with mismatches between the shader and the state setup code.

Merge request reports

Loading