mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 07:00:12 +01:00
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:
parent
038bb53456
commit
09c61d0e4c
1 changed files with 9 additions and 0 deletions
|
|
@ -412,6 +412,15 @@ nir_schedule_intrinsic_deps(nir_deps_state *state,
|
||||||
break;
|
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:
|
default:
|
||||||
/* Attempt to handle other intrinsics that we haven't individually
|
/* Attempt to handle other intrinsics that we haven't individually
|
||||||
* categorized by serializing them in the same order relative to each
|
* categorized by serializing them in the same order relative to each
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue