[Mesa-dev] [PATCH v2 3/3] ilo: Enable ARB_gpu_shader_fp64

Darius Goad alegend45 at gmail.com
Sat Apr 11 10:57:08 PDT 2015


---
 src/gallium/drivers/ilo/ilo_screen.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c
index 80ea4c7..e6a8354 100644
--- a/src/gallium/drivers/ilo/ilo_screen.c
+++ b/src/gallium/drivers/ilo/ilo_screen.c
@@ -147,6 +147,8 @@ ilo_get_shader_param(struct pipe_screen *screen, unsigned shader,
       return 0;
    case PIPE_SHADER_CAP_INTEGERS:
       return 1;
+   case PIPE_SHADER_CAP_DOUBLES:
+      return gen_get_ivb_gt() ? 1 : 0;
    case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
       return ILO_MAX_SAMPLERS;
    case PIPE_SHADER_CAP_MAX_SAMPLER_VIEWS:
-- 
2.1.4



More information about the mesa-dev mailing list