spirv2dxil: Expose yz flip pass to external callers

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22277>
This commit is contained in:
Jesse Natalie 2023-04-03 15:16:09 -07:00 committed by Marge Bot
parent b723962418
commit 83fd7e9460
2 changed files with 6 additions and 1 deletions

View file

@ -438,7 +438,7 @@ lower_yz_flip(struct nir_builder *builder, nir_instr *instr,
return true;
}
static bool
bool
dxil_spirv_nir_lower_yz_flip(nir_shader *shader,
const struct dxil_spirv_runtime_conf *rt_conf,
bool *reads_sysval_ubo)

View file

@ -79,4 +79,9 @@ struct dxil_spirv_bindless_entry {
bool
dxil_spirv_nir_lower_bindless(nir_shader *nir, struct dxil_spirv_nir_lower_bindless_options *options);
bool
dxil_spirv_nir_lower_yz_flip(nir_shader *shader,
const struct dxil_spirv_runtime_conf *rt_conf,
bool *reads_sysval_ubo);
#endif