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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user