[Mesa-dev] [PATCH] r600: fix VERTEX_ATTRIB_STRIDE to be 2048

Dave Airlie airlied at gmail.com
Fri Feb 2 06:23:36 UTC 2018


From: Dave Airlie <airlied at redhat.com>

This fixes:
KHR-GL45.limits.max_vertex_attrib_stride
looks like a typo from the first commit.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/gallium/drivers/r600/r600_pipe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 6c021e568d..29fadf6200 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -451,7 +451,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
 		return family >= CHIP_CEDAR ? 4 : 1;
 
 	case PIPE_CAP_MAX_VERTEX_ATTRIB_STRIDE:
-		return 2047;
+		return 2048;
 
 	/* Texturing. */
 	case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
-- 
2.14.3



More information about the mesa-dev mailing list