Mesa (master): nv50: only support 4 components in separate xfb mode

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jan 8 19:20:17 UTC 2021


Module: Mesa
Branch: master
Commit: e0a2af33254f2754eb38fdef096fd9b10ab5b515
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0a2af33254f2754eb38fdef096fd9b10ab5b515

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Jan  6 00:46:49 2021 -0500

nv50: only support 4 components in separate xfb mode

This is consistent with what the blob reports.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8346>

---

 src/gallium/drivers/nouveau/nv50/nv50_screen.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c b/src/gallium/drivers/nouveau/nv50/nv50_screen.c
index 2d18ecfd170..578252a5651 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_screen.c
@@ -124,8 +124,9 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS:
       return 4;
    case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS:
-   case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_COMPONENTS:
       return 64;
+   case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_COMPONENTS:
+      return 4;
    case PIPE_CAP_MAX_GEOMETRY_OUTPUT_VERTICES:
    case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS:
       return 1024;



More information about the mesa-commit mailing list