nouveau/nv50: Remove unused alternative sample position ms8
authorAntónio Monteiro <antonio.fmr.monteiro@gmail.com>
Mon, 24 Oct 2022 14:50:40 +0000 (15:50 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 2 Nov 2022 23:25:47 +0000 (23:25 +0000)
Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19271>

src/gallium/drivers/nouveau/nv50/nv50_context.c

index 056aa0f..f4e3046 100644 (file)
@@ -467,14 +467,6 @@ nv50_context_get_sample_position(struct pipe_context *pipe,
       { 0x3, 0xd }, { 0x7, 0xb },   /* (0,1), (1,1) */
       { 0x9, 0x5 }, { 0xf, 0x1 },   /* (2,0), (3,0) */
       { 0xb, 0xf }, { 0xd, 0x9 } }; /* (2,1), (3,1) */
-#if 0
-   /* NOTE: there are alternative modes for MS2 and MS8, currently not used */
-   static const uint8_t ms8_alt[8][2] = {
-      { 0x9, 0x5 }, { 0x7, 0xb },   /* (2,0), (1,1) */
-      { 0xd, 0x9 }, { 0x5, 0x3 },   /* (3,1), (1,0) */
-      { 0x3, 0xd }, { 0x1, 0x7 },   /* (0,1), (0,0) */
-      { 0xb, 0xf }, { 0xf, 0x1 } }; /* (2,1), (3,0) */
-#endif
 
    const uint8_t (*ptr)[2];