diff options
author | Rhys Perry <[email protected]> | 2018-06-14 19:56:28 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-06-14 20:09:45 -0600 |
commit | 9f217facbde04dd005b3f6b53bc97480b856d246 (patch) | |
tree | 264bd0c51ef30a1420ddbfe119b6a310ce463ba3 /src/mesa/state_tracker/st_context.c | |
parent | 51a221e37869235ad5c81bbfec06a2564b3b2d3b (diff) |
st/mesa: add support for ARB_sample_locations
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Brian Paul <[email protected]> (v2)
Reviewed-by: Marek Olšák <[email protected]> (v2)
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 50c8b2e6549..6c1be76afc6 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -172,7 +172,7 @@ st_invalidate_buffers(struct st_context *st) st->dirty |= ST_NEW_BLEND | ST_NEW_DSA | ST_NEW_FB_STATE | - ST_NEW_SAMPLE_MASK | + ST_NEW_SAMPLE_STATE | ST_NEW_SAMPLE_SHADING | ST_NEW_FS_STATE | ST_NEW_POLY_STIPPLE | @@ -323,9 +323,10 @@ st_init_driver_flags(struct st_context *st) f->NewLogicOp = ST_NEW_BLEND; f->NewStencil = ST_NEW_DSA; f->NewMultisampleEnable = ST_NEW_BLEND | ST_NEW_RASTERIZER | - ST_NEW_SAMPLE_MASK | ST_NEW_SAMPLE_SHADING; + ST_NEW_SAMPLE_STATE | ST_NEW_SAMPLE_SHADING; f->NewSampleAlphaToXEnable = ST_NEW_BLEND; - f->NewSampleMask = ST_NEW_SAMPLE_MASK; + f->NewSampleMask = ST_NEW_SAMPLE_STATE; + f->NewSampleLocations = ST_NEW_SAMPLE_STATE; f->NewSampleShading = ST_NEW_SAMPLE_SHADING; /* This depends on what the gallium driver wants. */ |