diff options
author | Dave Airlie <[email protected]> | 2020-06-09 08:25:37 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2020-06-11 14:41:09 +1000 |
commit | a2c16ecb2ee7f00dff17dcf658935f5b3cb03626 (patch) | |
tree | 6978f5b1cb326684ddf5ee15fa95ce1cd88c59d5 | |
parent | f6ce962f00fb31b28f455d19ce4d8192ecaeb694 (diff) |
llvmpipe: fix subpixel bits reporting.
This fixes some vulkan tests later.
Reviewed-by: Roland Scheidegger <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5379>
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |