mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 12:40:29 +01:00
r600: add r600_lower_tess_io metadata compatibility
../src/compiler/nir/nir_metadata.c:172: nir_metadata_check_validation_flag: Assertion `!(impl->valid_metadata & nir_metadata_not_properly_reset)' failed. Signed-off-by: Patrick Lerda <patrick9876@free.fr> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34155>
This commit is contained in:
parent
3fbee8bae6
commit
2ea6e67dcf
1 changed files with 4 additions and 3 deletions
|
|
@ -421,14 +421,15 @@ r600_lower_tess_io(nir_shader *shader, enum mesa_prim prim_type)
|
|||
|
||||
nir_foreach_block(block, impl)
|
||||
{
|
||||
nir_foreach_instr_safe(instr, block)
|
||||
{
|
||||
bool progress_impl = false;
|
||||
nir_foreach_instr_safe (instr, block) {
|
||||
if (instr->type != nir_instr_type_intrinsic)
|
||||
continue;
|
||||
|
||||
if (r600_lower_tess_io_filter(instr, shader->info.stage))
|
||||
progress |= r600_lower_tess_io_impl(&b, instr, prim_type);
|
||||
progress_impl |= r600_lower_tess_io_impl(&b, instr, prim_type);
|
||||
}
|
||||
progress |= nir_progress(progress_impl, impl, nir_metadata_control_flow);
|
||||
}
|
||||
}
|
||||
return progress;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue