From 070ce2307843a055f0d5863af751fcdd669e57d6 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Tue, 26 Apr 2022 13:47:25 -0700 Subject: [PATCH] crocus: Enable PIPE_CAP_LEGACY_MATH_RULES. Now that TTN hooks this up to use_legacy_math_rules, we can flip the switch and gallium nine can get the desired behavior from the hardware instead of emitting math workarounds. Reviewed-by: Kenneth Graunke Part-of: --- src/gallium/drivers/crocus/crocus_screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/crocus/crocus_screen.c b/src/gallium/drivers/crocus/crocus_screen.c index 64fad809de4..40673ebe17e 100644 --- a/src/gallium/drivers/crocus/crocus_screen.c +++ b/src/gallium/drivers/crocus/crocus_screen.c @@ -196,6 +196,7 @@ crocus_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_FENCE_SIGNAL: case PIPE_CAP_DEMOTE_TO_HELPER_INVOCATION: case PIPE_CAP_GL_CLAMP: + case PIPE_CAP_LEGACY_MATH_RULES: return true; case PIPE_CAP_INT64: case PIPE_CAP_INT64_DIVMOD: