bool reads_point_coord;
bool reads_face;
bool reads_frag_coord;
+ bool writes_global;
unsigned stack_size;
unsigned shared_size;
enum bifrost_shader_type blend_types[BIFROST_MAX_RENDER_TARGET_COUNT];
unsigned int varying_count;
- struct mali_attr_meta varyings[PIPE_MAX_ATTRIBS];
+ enum mali_format varyings[PIPE_MAX_ATTRIBS];
gl_varying_slot varyings_loc[PIPE_MAX_ATTRIBS];
struct pipe_stream_output_info stream_output;
uint64_t so_mask;
struct panfrost_bo *midgard_bo;
struct panfrost_bo *bifrost_bo;
struct bifrost_texture_descriptor *bifrost_descriptor;
+ enum mali_texture_layout layout;
};
static inline struct panfrost_context *
unsigned
panfrost_ubo_count(struct panfrost_context *ctx, enum pipe_shader_type stage);
+void
+panfrost_create_sampler_view_bo(struct panfrost_sampler_view *so,
+ struct pipe_context *pctx,
+ struct pipe_resource *texture);
+
/* Instancing */
mali_ptr