mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
microsoft/spirv_to_dxil: Add lowering pass to handle gl_PerVertex
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Bill Kristiansen <billkris@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9846>
This commit is contained in:
parent
fbebe36547
commit
2f3dc0264c
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ spirv_to_dxil(const uint32_t *words, size_t word_count,
|
|||
nir_validate_shader(nir,
|
||||
"Validate before feeding NIR to the DXIL compiler");
|
||||
|
||||
NIR_PASS_V(nir, nir_split_per_member_structs);
|
||||
NIR_PASS_V(nir, nir_lower_returns);
|
||||
NIR_PASS_V(nir, nir_inline_functions);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue