Skip to content
Snippets Groups Projects
Commit 8c859367 authored by Ilia Mirkin's avatar Ilia Mirkin
Browse files

swr: set PIPE_CAP_MAX_VARYINGS correctly


Unfortunately swr was missed in the original commit. The number of
varyings should generally match up to what's reported as the shader
caps for fragment inputs.

Fixes: 6010d7b8 (gallium: add PIPE_CAP_MAX_VARYINGS)
Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Alok Hota's avatarAlok Hota <alok.hota@intel.com>
Cc: 19.0 <mesa-stable@lists.freedesktop.org>
parent 50644649
No related branches found
No related tags found
No related merge requests found
......@@ -370,6 +370,8 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 32;
case PIPE_CAP_MAX_SHADER_BUFFER_SIZE:
return 1 << 27;
case PIPE_CAP_MAX_VARYINGS:
return 32;
case PIPE_CAP_VENDOR_ID:
return 0xFFFFFFFF;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment