nir/schedule: handle derivative intrinsics

load bearing for broadcom

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30565>
This commit is contained in:
Alyssa Rosenzweig 2024-07-24 11:14:29 -04:00 committed by Marge Bot
parent 038bb53456
commit 09c61d0e4c

View file

@ -412,6 +412,15 @@ nir_schedule_intrinsic_deps(nir_deps_state *state,
break;
}
case nir_intrinsic_ddx:
case nir_intrinsic_ddx_fine:
case nir_intrinsic_ddx_coarse:
case nir_intrinsic_ddy:
case nir_intrinsic_ddy_fine:
case nir_intrinsic_ddy_coarse:
/* Match the old behaviour. TODO: Is this correct with discards? */
break;
default:
/* Attempt to handle other intrinsics that we haven't individually
* categorized by serializing them in the same order relative to each