From e51baeb6c1386681d8f9c285a8f4912d91fad7ee Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 31 Dec 2016 13:34:11 +0100 Subject: gallium: add PIPE_CAP_GLSL_OPTIMIZE_CONSERVATIVELY Drivers with good compilers don't need aggressive optimizations before TGSI. Reviewed-by: Eric Anholt --- src/gallium/drivers/ilo/ilo_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/ilo/ilo_screen.c') diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c index c3fad7314ed..20a0e8d55fa 100644 --- a/src/gallium/drivers/ilo/ilo_screen.c +++ b/src/gallium/drivers/ilo/ilo_screen.c @@ -519,6 +519,7 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_TGSI_ARRAY_COMPONENTS: case PIPE_CAP_TGSI_CAN_READ_OUTPUTS: case PIPE_CAP_NATIVE_FENCE_FD: + case PIPE_CAP_GLSL_OPTIMIZE_CONSERVATIVELY: return 0; case PIPE_CAP_VENDOR_ID: -- cgit v1.2.3