[Mesa-dev] [PATCH 1/2] i965/gen10: Don't set Smooth Point Enable in 3DSTATE_SF if num_samples > 1
Anuj Phogat
anuj.phogat at gmail.com
Fri Oct 27 22:02:31 UTC 2017
On Fri, Oct 27, 2017 at 2:50 PM, Matt Turner <mattst88 at gmail.com> wrote:
> On Fri, Oct 27, 2017 at 10:50 AM, Anuj Phogat <anuj.phogat at gmail.com> wrote:
>> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
>> ---
>> src/mesa/drivers/dri/i965/genX_state_upload.c | 10 ++++++++++
>> 1 file changed, 10 insertions(+)
>>
>> diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c
>> index 4ccfd48919..b6e800aa90 100644
>> --- a/src/mesa/drivers/dri/i965/genX_state_upload.c
>> +++ b/src/mesa/drivers/dri/i965/genX_state_upload.c
>> @@ -1626,6 +1626,16 @@ genX(upload_sf)(struct brw_context *brw)
>> sf.SmoothPointEnable = true;
>> #endif
>>
>> +#if GEN_GEN == 10
>> + /* _NEW_MULTISAMPLE
>> + * Smooth Point Enable bit MUST not be set when NUM_MULTISAMPLES > 1.
>> + */
>> + const bool multisampled_fbo =
>> + _mesa_geometric_samples(ctx->DrawBuffer) > 1;
>
> Indent this line.
Fixed locally.
More information about the mesa-dev
mailing list