[virglrenderer-devel] [PATCH 01/19] shader: bump input/output count to 64

Dave Airlie airlied at gmail.com
Fri Jun 8 05:14:05 UTC 2018


From: Dave Airlie <airlied at redhat.com>

With tessellation we can have 32 patch varyings on top of the old limit
---
 src/vrend_shader.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/vrend_shader.c b/src/vrend_shader.c
index 5c82f3d..d54a92a 100644
--- a/src/vrend_shader.c
+++ b/src/vrend_shader.c
@@ -112,9 +112,9 @@ struct dump_ctx {
    int num_interps;
    int num_inputs;
    uint32_t attrib_input_mask;
-   struct vrend_shader_io inputs[35];
+   struct vrend_shader_io inputs[64];
    int num_outputs;
-   struct vrend_shader_io outputs[35];
+   struct vrend_shader_io outputs[64];
    int num_system_values;
    struct vrend_shader_io system_values[32];
 
-- 
2.14.3



More information about the virglrenderer-devel mailing list