dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_tex2d_rgba_stencil_index8
dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_tex2d_rgb_depth_component16
dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.rebind_tex2d_rgb_stencil_index8
-dEQP-GLES2.functional.fbo.render.shared_colorbuffer.rbo_rgb565_stencil_index8
-dEQP-GLES2.functional.fbo.render.shared_colorbuffer.rbo_rgb5_a1_stencil_index8
-dEQP-GLES2.functional.fbo.render.shared_colorbuffer.rbo_rgba4_stencil_index8
-dEQP-GLES2.functional.fbo.render.shared_colorbuffer.tex2d_rgba_stencil_index8
-dEQP-GLES2.functional.fbo.render.shared_colorbuffer.tex2d_rgb_stencil_index8
dEQP-GLES2.functional.fbo.render.shared_depthbuffer.rbo_rgb565_depth_component16
dEQP-GLES2.functional.fbo.render.shared_depthbuffer.rbo_rgb5_a1_depth_component16
dEQP-GLES2.functional.fbo.render.shared_depthbuffer.rbo_rgba4_depth_component16
int shift_min;
};
-struct lima_context_clear {
- unsigned buffers;
- uint32_t color_8pc;
- uint32_t depth;
- uint32_t stencil;
- uint64_t color_16pc;
-};
-
struct lima_depth_stencil_alpha_state {
struct pipe_depth_stencil_alpha_state base;
};
struct lima_context_framebuffer framebuffer;
struct lima_context_viewport_state viewport;
struct pipe_scissor_state scissor;
- struct lima_context_clear clear;
struct lima_vs_shader_state *vs;
struct lima_fs_shader_state *fs;
struct lima_vertex_element_state *vertex_elements;
}
struct lima_submit *submit = lima_submit_get(ctx);
- struct lima_context_clear *clear = &ctx->clear;
+ struct lima_submit_clear *clear = &submit->clear;
clear->buffers = buffers;
if (buffers & PIPE_CLEAR_COLOR0) {
frame->render_address = screen->pp_buffer->va + pp_frame_rsw_offset;
frame->flags = 0x02;
- frame->clear_value_depth = ctx->clear.depth;
- frame->clear_value_stencil = ctx->clear.stencil;
- frame->clear_value_color = ctx->clear.color_8pc;
- frame->clear_value_color_1 = ctx->clear.color_8pc;
- frame->clear_value_color_2 = ctx->clear.color_8pc;
- frame->clear_value_color_3 = ctx->clear.color_8pc;
+ frame->clear_value_depth = submit->clear.depth;
+ frame->clear_value_stencil = submit->clear.stencil;
+ frame->clear_value_color = submit->clear.color_8pc;
+ frame->clear_value_color_1 = submit->clear.color_8pc;
+ frame->clear_value_color_2 = submit->clear.color_8pc;
+ frame->clear_value_color_3 = submit->clear.color_8pc;
frame->one = 1;
frame->width = fb->base.width - 1;
struct pipe_surface *zsbuf;
};
+struct lima_submit_clear {
+ unsigned buffers;
+ uint32_t color_8pc;
+ uint32_t depth;
+ uint32_t stencil;
+ uint64_t color_16pc;
+};
+
struct lima_submit {
int fd;
struct lima_context *ctx;
int pp_max_stack_size;
struct pipe_scissor_state damage_rect;
+
+ struct lima_submit_clear clear;
};
struct lima_submit *lima_submit_get(struct lima_context *ctx);