From 76ba50a25a8bbc1e5fbcdb24da7e09f8996cf2c5 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 27 Nov 2013 19:47:51 +1000 Subject: mesa/soft/llvmpipe: add fake MSAA support This adds a gallium cap that allows us to fake GL3.0 by not exposing MSAA on sw rendering. It also forces the extra extensions needed for GL3.2. Signed-off-by: Dave Airlie --- src/gallium/drivers/freedreno/freedreno_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/freedreno') diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 228ed1868c5..4f0675fc84a 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -206,6 +206,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS: case PIPE_CAP_TEXTURE_GATHER_SM5: case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT: + case PIPE_CAP_FAKE_SW_MSAA: return 0; /* Stream output. */ -- cgit v1.2.3