From a2c16ecb2ee7f00dff17dcf658935f5b3cb03626 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 9 Jun 2020 08:25:37 +1000 Subject: [PATCH] llvmpipe: fix subpixel bits reporting. This fixes some vulkan tests later. Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/drivers/llvmpipe/lp_screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 643121a04c1..f5bf0044872 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -333,6 +333,8 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) return 1; case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS: return 32; + case PIPE_CAP_RASTERIZER_SUBPIXEL_BITS: + return 8; case PIPE_CAP_MULTISAMPLE_Z_RESOLVE: case PIPE_CAP_RESOURCE_FROM_USER_MEMORY: case PIPE_CAP_DEVICE_RESET_STATUS_QUERY: -- 2.30.2