summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.c
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2015-09-07 18:23:14 +0100
committerNeil Roberts <[email protected]>2015-11-05 10:33:21 +0100
commit6c5f371a27f901d5bc60cf5a2a11cf6629f96f78 (patch)
treeb42b487cbdac76105cd597efeb355c67ec92f0a9 /src/mesa/drivers/dri/i965/brw_context.c
parentaa3f9aaf31e9056a255f9e0472ebdfdaa60abe54 (diff)
i965/skl+: Enable support for 16x multisampling
Reviewed-by: Ben Widawsky <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 3b125448e14..ac6045dbba9 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -84,6 +84,12 @@ brw_query_samples_for_format(struct gl_context *ctx, GLenum target,
switch (brw->gen) {
case 9:
+ samples[0] = 16;
+ samples[1] = 8;
+ samples[2] = 4;
+ samples[3] = 2;
+ return 4;
+
case 8:
samples[0] = 8;
samples[1] = 4;