[virglrenderer-devel] [PATCH 02/21] shader: bump input/output count to 64

Dave Airlie airlied at gmail.com
Wed Jun 13 00:56:36 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 9e58a26..027355b 100644
--- a/src/vrend_shader.c
+++ b/src/vrend_shader.c
@@ -113,9 +113,9 @@ struct dump_ctx {
    uint32_t num_interps;
    uint32_t num_inputs;
    uint32_t attrib_input_mask;
-   struct vrend_shader_io inputs[35];
+   struct vrend_shader_io inputs[64];
    uint32_t num_outputs;
-   struct vrend_shader_io outputs[35];
+   struct vrend_shader_io outputs[64];
    uint32_t num_system_values;
    struct vrend_shader_io system_values[32];
 
-- 
2.14.3



More information about the virglrenderer-devel mailing list