[Mesa-dev] [PATCH 9/9] r600/eg: set cap to denote we'd like to lower int->64bit conversions.
Dave Airlie
airlied at gmail.com
Thu Feb 1 03:33:58 UTC 2018
From: Dave Airlie <airlied at redhat.com>
Cayman has no hw to do this, try and use some common code.
This fixes:
KHR-GL43.gpu_shader_fp64.fp64.conversions
and a bunch of uint/uvec/int/ivec -> double piglits.
on cayman.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/gallium/drivers/r600/r600_pipe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 6c021e568d..f948cc87b6 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -353,6 +353,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
case PIPE_CAP_TGSI_CLOCK:
case PIPE_CAP_TGSI_ARRAY_COMPONENTS:
case PIPE_CAP_QUERY_BUFFER_OBJECT:
+ case PIPE_CAP_LOWER_INT_TO_FP64_CONVERSIONS:
return family >= CHIP_CEDAR ? 1 : 0;
case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS:
return family >= CHIP_CEDAR ? 4 : 0;
--
2.14.3
More information about the mesa-dev
mailing list