[Mesa-dev] [PATCH 16/17] nvc0: Enable ARB_framebuffer_no_attachment

Edward O'Callaghan eocallaghan at alterapraxis.com
Sat Mar 19 06:41:29 UTC 2016


Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index 910143f..4a00d92 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -229,9 +229,11 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_PCI_BUS:
    case PIPE_CAP_PCI_DEVICE:
    case PIPE_CAP_PCI_FUNCTION:
-   case PIPE_CAP_MSAA_MODES:
       return 0;
 
+   case PIPE_CAP_MSAA_MODES:
+      return (1 << 5) | (1 << 4) | (1 << 3) | (1 << 2) | (1 << 1);
+
    case PIPE_CAP_VENDOR_ID:
       return 0x10de;
    case PIPE_CAP_DEVICE_ID: {
-- 
2.5.0



More information about the mesa-dev mailing list