[Mesa-dev] [PATCH 46/53] r600/shader: increase number of inputs/outputs to 64.

Dave Airlie airlied at gmail.com
Sun Nov 29 22:20:55 PST 2015


From: Dave Airlie <airlied at redhat.com>

Tessellation exceeds these sometimes, so increase them for now.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/gallium/drivers/r600/r600_shader.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h
index f5b1c4b..cfdb020 100644
--- a/src/gallium/drivers/r600/r600_shader.h
+++ b/src/gallium/drivers/r600/r600_shader.h
@@ -62,8 +62,8 @@ struct r600_shader {
 	unsigned		ninput;
 	unsigned		noutput;
 	unsigned		nlds;
-	struct r600_shader_io	input[40];
-	struct r600_shader_io	output[40];
+	struct r600_shader_io	input[64];
+	struct r600_shader_io	output[64];
 	boolean			uses_kill;
 	boolean			fs_write_all;
 	boolean			two_side;
-- 
2.5.0



More information about the mesa-dev mailing list