bool compiled;
/* Non-descript information */
- int uniform_count;
- unsigned uniform_cutoff;
+ unsigned uniform_count;
unsigned work_reg_count;
unsigned attribute_count;
+ unsigned texture_count;
bool can_discard;
bool writes_point_size;
bool writes_depth;
/* Should we enable helper invocations */
bool helper_invocations;
- unsigned first_tag;
+ /* Pointer to GPU-executable memory formatted for the hardware. bo->gpu
+ * on Bifrost, bo->gpu | initial_tag on Midgard */
+ mali_ptr shader;
struct panfrost_bo *bo;
BITSET_WORD outputs_read;
unsigned num_elements;
struct pipe_vertex_element pipe[PIPE_MAX_ATTRIBS];
- struct mali_attr_meta hw[PIPE_MAX_ATTRIBS];
+ unsigned formats[PIPE_MAX_ATTRIBS];
};
struct panfrost_zsa_state {
struct pipe_context *
panfrost_create_context(struct pipe_screen *screen, void *priv, unsigned flags);
-void
-panfrost_invalidate_frame(struct panfrost_context *ctx);
-
bool
panfrost_writes_point_size(struct panfrost_context *ctx);