zink: repack zink_render_pass_state
saves a couple wasted bits Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12934>
This commit is contained in:
committed by
Marge Bot
parent
9d9e67d118
commit
584d705dd7
@@ -44,10 +44,10 @@ struct zink_rt_attrib {
|
||||
};
|
||||
|
||||
struct zink_render_pass_state {
|
||||
uint8_t num_cbufs : 4; /* PIPE_MAX_COLOR_BUFS = 8 */
|
||||
uint8_t num_cbufs : 5; /* PIPE_MAX_COLOR_BUFS = 8 */
|
||||
uint8_t have_zsbuf : 1;
|
||||
bool samples; //for fs samplemask
|
||||
bool swapchain_init;
|
||||
uint8_t samples:1; //for fs samplemask
|
||||
uint8_t swapchain_init:1;
|
||||
struct zink_rt_attrib rts[PIPE_MAX_COLOR_BUFS + 1];
|
||||
unsigned num_rts;
|
||||
uint32_t clears; //for extra verification and update flagging
|
||||
|
||||
Reference in New Issue
Block a user