summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_screen.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2013-11-27 19:47:51 +1000
committerDave Airlie <[email protected]>2014-04-02 12:12:04 +1000
commit76ba50a25a8bbc1e5fbcdb24da7e09f8996cf2c5 (patch)
tree05bd8c06d733e96246bacab1e8a429bf3800be51 /src/gallium/drivers/i915/i915_screen.c
parent882b46a42ee8f25853b972911e6e31988b979412 (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/i915/i915_screen.c')
-rw-r--r--src/gallium/drivers/i915/i915_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 88b190b4009..0f8ba30b992 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -218,6 +218,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS:
case PIPE_CAP_TEXTURE_GATHER_SM5:
+ case PIPE_CAP_FAKE_SW_MSAA:
return 0;
case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: