panfrost: Replay more varying buffers
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 15 Mar 2019 03:34:25 +0000 (03:34 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 19 Mar 2019 03:53:56 +0000 (03:53 +0000)
This is required for gl_PointCoord to show up on decodes.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/pandecode/decode.c

index 28bc0509feb134d6258c687a05ec79de437140e9..86fb968e3340d10a234fb4af2328a2c939d56c73 100644 (file)
@@ -1357,7 +1357,7 @@ pandecode_replay_vertex_tiler_postfix_pre(const struct mali_vertex_tiler_postfix
                 /* Number of descriptors depends on whether there are
                  * non-internal varyings */
 
-                pandecode_replay_attributes(attr_mem, p->varyings, job_no, suffix, varying_count > 1 ? 2 : 1, true);
+                pandecode_replay_attributes(attr_mem, p->varyings, job_no, suffix, varying_count > 1 ? 4 : 1, true);
         }
 
         if (p->varying_meta) {