llvmpipe: fix subpixel bits reporting.
authorDave Airlie <airlied@redhat.com>
Mon, 8 Jun 2020 22:25:37 +0000 (08:25 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 11 Jun 2020 04:41:09 +0000 (14:41 +1000)
This fixes some vulkan tests later.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5379>

src/gallium/drivers/llvmpipe/lp_screen.c

index 643121a04c15e74f0ba8d6acdc67ce8f815cc83a..f5bf0044872e4ec0b06cdcd053237f646a2570cf 100644 (file)
@@ -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: