mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
zink: delete srgb tracking for clears
no longer used Acked-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17366>
This commit is contained in:
parent
b0e62adbcc
commit
7754041ed6
2 changed files with 0 additions and 3 deletions
|
|
@ -244,8 +244,6 @@ zink_clear(struct pipe_context *pctx,
|
|||
clear->scissor = *scissor_state;
|
||||
for (unsigned i = 0; i < 4; i++)
|
||||
clamp_color(desc, &clear->color.color, pcolor, i);
|
||||
clear->color.srgb = psurf->format != psurf->texture->format &&
|
||||
!util_format_is_srgb(psurf->format) && util_format_is_srgb(psurf->texture->format);
|
||||
if (zink_fb_clear_first_needs_explicit(fb_clear))
|
||||
ctx->rp_clears_enabled &= ~(PIPE_CLEAR_COLOR0 << i);
|
||||
else
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ struct zink_framebuffer_clear_data {
|
|||
union {
|
||||
struct {
|
||||
union pipe_color_union color;
|
||||
bool srgb;
|
||||
} color;
|
||||
struct {
|
||||
float depth;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue