-struct panfrost_blend_state {
- struct pipe_blend_state base;
-
- /* Whether a blend shader is in use */
- bool has_blend_shader;
-
- /* Compiled fixed function command */
- struct mali_blend_equation equation;
-
- /* Compiled blend shader */
- mali_ptr blend_shader;
- int blend_work_count;
-};
-
-/* Internal varyings descriptor */
-struct panfrost_varyings {
- /* Varyings information: stride of each chunk of memory used for
- * varyings (similar structure with attributes). Count is just the
- * number of vec4's. Buffer count is the number of varying chunks (<=
- * count). Height is used to calculate gl_Position's position ("it's
- * not a pun, Alyssa!"). Vertex-only varyings == descriptor for
- * gl_Position and something else apparently occupying the same space.
- * Varyings == main varyings descriptors following typical mali_attr
- * conventions. */
-
- unsigned varyings_stride[MAX_VARYINGS];
- unsigned varying_count;
- unsigned varying_buffer_count;
-
- /* Map of the actual varyings buffer */
- uint8_t *varyings_buffer_cpu;
- mali_ptr varyings_descriptor;
- mali_ptr varyings_descriptor_fragment;
-};
-