mesa/st: Remove unused ST_ATTACHMENT_SAMPLE

Not sure what this was supposed to do, but whatever it did, it doesn't.

Reviewed-by: Eric Faye-Lund <kusmabite@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9956>
This commit is contained in:
Adam Jackson 2021-03-24 14:20:11 -04:00 committed by Marge Bot
parent ce1a381e57
commit 95be3c9b6d
2 changed files with 0 additions and 3 deletions

View File

@ -123,7 +123,6 @@ enum st_attachment_type {
ST_ATTACHMENT_BACK_RIGHT,
ST_ATTACHMENT_DEPTH_STENCIL,
ST_ATTACHMENT_ACCUM,
ST_ATTACHMENT_SAMPLE,
ST_ATTACHMENT_COUNT,
ST_ATTACHMENT_INVALID = -1
@ -136,7 +135,6 @@ enum st_attachment_type {
#define ST_ATTACHMENT_BACK_RIGHT_MASK (1 << ST_ATTACHMENT_BACK_RIGHT)
#define ST_ATTACHMENT_DEPTH_STENCIL_MASK (1 << ST_ATTACHMENT_DEPTH_STENCIL)
#define ST_ATTACHMENT_ACCUM_MASK (1 << ST_ATTACHMENT_ACCUM)
#define ST_ATTACHMENT_SAMPLE_MASK (1 << ST_ATTACHMENT_SAMPLE)
/**
* Flush flags.

View File

@ -99,7 +99,6 @@ attachment_to_buffer_index(enum st_attachment_type statt)
case ST_ATTACHMENT_ACCUM:
index = BUFFER_ACCUM;
break;
case ST_ATTACHMENT_SAMPLE:
default:
index = BUFFER_COUNT;
break;