summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2023-10-18 08:30:22 +0200
committerMarge Bot <emma+marge@anholt.net>2023-10-24 00:16:30 +0000
commitaed6a39c10c328c32e6009e6f5c00cfdd9257e73 (patch)
tree54148fd9fc95d4698a752723be543ad3c9046b40 /src/gallium/drivers/r600/r600_pipe.c
parentb416248cb5f598c5a60211514af9d75cc34ea6dd (diff)
glsl: Retire dround lowering.
We have competent lowering in NIR already available. Drivers exposing CAP_DOUBLES but not SHADER_CAP_DROUND: - d3d12 (NIR lowers ~0 if the underlying impl doesn't do floats) - svga (Now sets the NIR lowering options) - softpipe (Doesn't do GL4 so you can't use doubles anyway) - llvmpipe (Lowers dround_even in NIR and passees the rest through successfully) - zink (NIR lowers ~0 if the underlying impl doesn't do floats, otherwise passes things through successfully, except needed dround_even lowering to avoid lavapipe regression with native doubles) - r600 (sets NIR rounding lowering flags, and lowers all fsign) Reviewed-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25777>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index ab758cca833..cb381c3805d 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -615,8 +615,6 @@ static int r600_get_shader_param(struct pipe_screen* pscreen,
ir |= 1 << PIPE_SHADER_IR_NIR;
return ir;
}
- case PIPE_SHADER_CAP_DROUND_SUPPORTED:
- return 0;
case PIPE_SHADER_CAP_MAX_SHADER_BUFFERS:
case PIPE_SHADER_CAP_MAX_SHADER_IMAGES:
if (rscreen->b.family >= CHIP_CEDAR &&