uint32_t uniform_array_size;
uint32_t num_uniforms;
uint32_t output_position_index;
- nir_variable *output_color_var[4];
+ nir_variable *output_color_var[V3D_MAX_DRAW_BUFFERS];
uint32_t output_sample_mask_index;
struct qreg undef;
/* Hash table key for v3d->jobs */
struct v3d_job_key {
- struct pipe_surface *cbufs[4];
+ struct pipe_surface *cbufs[V3D_MAX_DRAW_BUFFERS];
struct pipe_surface *zsbuf;
struct pipe_surface *bbuf;
};
* the destination surface.
*/
uint32_t nr_cbufs;
- struct pipe_surface *cbufs[4];
+ struct pipe_surface *cbufs[V3D_MAX_DRAW_BUFFERS];
struct pipe_surface *zsbuf;
struct pipe_surface *bbuf;
/** @} */
* (either clears or draws) and should be stored.
*/
uint32_t store;
- uint32_t clear_color[4][4];
+ uint32_t clear_color[V3D_MAX_DRAW_BUFFERS][4];
float clear_z;
uint8_t clear_s;