From 9ea6973ca672db2d7bd0d14a79e981b565e8f2c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Monteiro?= Date: Mon, 24 Oct 2022 15:50:00 +0100 Subject: [PATCH] nouveau/nvc0: Remove unused alternative sample position ms8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: António Monteiro Reviewed-by: Karol Herbst Part-of: --- src/gallium/drivers/nouveau/nvc0/nvc0_context.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_context.c b/src/gallium/drivers/nouveau/nvc0/nvc0_context.c index f718d0d8fec..9d107a27586 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_context.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_context.c @@ -606,14 +606,6 @@ nvc0_get_sample_locations(unsigned sample_count) { 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];