mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
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:
parent
c8d435373e
commit
c1e7d0598d
1 changed files with 2 additions and 1 deletions
|
|
@ -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 ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue