d3d12: Add primitive ID sysval to input bitmask (for GS in)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28535>
This commit is contained in:
Jesse Natalie 2024-04-01 16:07:17 -07:00 committed by Marge Bot
parent c8d435373e
commit c1e7d0598d

View file

@ -1020,7 +1020,8 @@ d3d12_fill_shader_key(struct d3d12_selection_context *sel_ctx,
}
}
key->next_varying_inputs = next->current->nir->info.inputs_read;
if (BITSET_TEST(next->current->nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID))
key->next_varying_inputs |= VARYING_SLOT_PRIMITIVE_ID;
}
if (stage == PIPE_SHADER_GEOMETRY ||