Revert "vc4: Lazily emit our FS/VS input loads."
[mesa.git] / src / gallium / drivers / vc4 / vc4_context.h
index f346474abe0a48ef9f5cfb42088db5ca91f534ea..6bd2424ec797a2ac90a6491f980b189ba2b99dc4 100644 (file)
@@ -174,10 +174,10 @@ struct vc4_compiled_shader {
 
         uint8_t num_inputs;
 
-        /** Byte offsets for the start of the vertex attributes. */
-        uint8_t vattr_offsets[8];
-        /** Total size of the vertex inputs, in bytes. */
-        uint8_t vattr_total_size;
+        /* Byte offsets for the start of the vertex attributes 0-7, and the
+         * total size as "attribute" 8.
+         */
+        uint8_t vattr_offsets[9];
         uint8_t vattrs_live;
 
         const struct vc4_fs_inputs *fs_inputs;