mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 21:30:23 +01:00
st/mesa: remove a redundant call to _mesa_is_multisample_enabled
We called it immediately prior, so re-use the previously returned value. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
parent
adba706122
commit
ceac3397fb
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ static void update_raster_state( struct st_context *st )
|
|||
/* _NEW_MULTISAMPLE | _NEW_BUFFERS */
|
||||
raster->force_persample_interp =
|
||||
!st->force_persample_in_shader &&
|
||||
_mesa_is_multisample_enabled(ctx) &&
|
||||
raster->multisample &&
|
||||
ctx->Multisample.SampleShading &&
|
||||
ctx->Multisample.MinSampleShadingValue *
|
||||
_mesa_geometric_samples(ctx->DrawBuffer) > 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue