From: Dave Airlie Date: Mon, 8 Jun 2020 22:25:37 +0000 (+1000) Subject: llvmpipe: fix subpixel bits reporting. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2c16ecb2ee7f00dff17dcf658935f5b3cb03626;p=mesa.git llvmpipe: fix subpixel bits reporting. This fixes some vulkan tests later. Reviewed-by: Roland Scheidegger Part-of: --- 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: