Mesa (9.0): r600g: advertise 32 streamout vec4 outputs

Marek Olšák mareko at kemper.freedesktop.org
Fri Nov 23 01:01:36 UTC 2012


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Oct 26 18:41:49 2012 +0200

r600g: advertise 32 streamout vec4 outputs

to match the varying limit.
(cherry picked from commit b78b62497f1e5cc64eb924c64e4685fe5d814fd7)

---

 src/gallium/drivers/r600/r600_pipe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 2e8ad5e..be30c7e 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -443,7 +443,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
 		return rscreen->has_streamout ? 1 : 0;
 	case PIPE_CAP_MAX_STREAM_OUTPUT_SEPARATE_COMPONENTS:
 	case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS:
-		return 16*4;
+		return 32*4;
 
 	/* Texturing. */
 	case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:




More information about the mesa-commit mailing list