diff options
author | Dave Airlie <[email protected]> | 2013-11-27 19:47:51 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2014-04-02 12:12:04 +1000 |
commit | 76ba50a25a8bbc1e5fbcdb24da7e09f8996cf2c5 (patch) | |
tree | 05bd8c06d733e96246bacab1e8a429bf3800be51 /src/gallium/drivers/r600/r600_pipe.c | |
parent | 882b46a42ee8f25853b972911e6e31988b979412 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 982e18d47a2..2ba45915754 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -333,6 +333,9 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_TGSI_TEXCOORD: return 0; + case PIPE_CAP_FAKE_SW_MSAA: + return 0; + case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE: return MIN2(rscreen->b.info.vram_size, 0xFFFFFFFF); |