summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2015-09-27 19:43:00 +0200
committerMarek Olšák <marek.olsak@amd.com>2015-10-03 22:06:09 +0200
commit4e9fc7e4e2fa3b3c77d08c4db545dcc279e849e9 (patch)
treef5e6a5808adf752607a274ee8772a2c852749285 /src/mesa/state_tracker/st_context.h
parentf3b37e321fe5ea8a8c0ff026636d69ce90437a6f (diff)
downloadexternal_mesa3d-4e9fc7e4e2fa3b3c77d08c4db545dcc279e849e9.zip
external_mesa3d-4e9fc7e4e2fa3b3c77d08c4db545dcc279e849e9.tar.gz
external_mesa3d-4e9fc7e4e2fa3b3c77d08c4db545dcc279e849e9.tar.bz2
st/mesa: set force_persample_interp if ARB_sample_shading is used
This is only a half of the work. The next patch will handle gl_SampleID/SamplePos, which is the other half of ARB_sample_shading. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 81d5480..a4cda29 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -98,6 +98,7 @@ struct st_context
boolean has_etc1;
boolean has_etc2;
boolean prefer_blit_based_texture_transfer;
+ boolean can_force_persample_interp;
boolean needs_texcoord_semantic;
boolean apply_texture_swizzle_to_border_color;