radeonsi: convert the framebuffer state to atom-based
[mesa.git] / src / gallium / drivers / radeonsi / si_pipe.h
index 3681cdf6592b2bcbfa3341dadaad965202463ab0..c66c88e05a4aa397cf7ab934baafe95d7f700d3b 100644 (file)
@@ -71,7 +71,9 @@ struct si_textures_info {
 };
 
 struct si_framebuffer {
+       struct r600_atom                atom;
        struct pipe_framebuffer_state   state;
+       unsigned                        nr_samples;
        unsigned                        log_samples;
        unsigned                        cb0_is_integer;
        unsigned                        compressed_cb_mask;
@@ -105,6 +107,7 @@ struct si_context {
                         * updated in memory. */
                        struct r600_atom *cache_flush;
                        struct r600_atom *streamout_begin;
+                       struct r600_atom *framebuffer;
                };
                struct r600_atom *array[0];
        } atoms;