mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 04:40:09 +01:00
gallium: decrease the size of pipe_framebuffer_state - 96 -> 80 bytes
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
19bc74f513
commit
eb0fd0e5f8
1 changed files with 4 additions and 4 deletions
|
|
@ -355,12 +355,12 @@ struct pipe_stencil_ref
|
||||||
*/
|
*/
|
||||||
struct pipe_framebuffer_state
|
struct pipe_framebuffer_state
|
||||||
{
|
{
|
||||||
unsigned width, height;
|
uint16_t width, height;
|
||||||
unsigned samples; /**< Number of samples in a no-attachment framebuffer */
|
uint16_t layers; /**< Number of layers in a no-attachment framebuffer */
|
||||||
unsigned layers; /**< Number of layers in a no-attachment framebuffer */
|
ubyte samples; /**< Number of samples in a no-attachment framebuffer */
|
||||||
|
|
||||||
/** multiple color buffers for multiple render targets */
|
/** multiple color buffers for multiple render targets */
|
||||||
unsigned nr_cbufs;
|
ubyte nr_cbufs;
|
||||||
struct pipe_surface *cbufs[PIPE_MAX_COLOR_BUFS];
|
struct pipe_surface *cbufs[PIPE_MAX_COLOR_BUFS];
|
||||||
|
|
||||||
struct pipe_surface *zsbuf; /**< Z/stencil buffer */
|
struct pipe_surface *zsbuf; /**< Z/stencil buffer */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue