[Mesa-dev] [PATCH 9/9] anv/gen7_pipeline: Check for ksp0 when setting BarycentricInterpolationMode in 3DSTATE_WM
Anuj Phogat
anuj.phogat at gmail.com
Mon Oct 3 17:18:43 UTC 2016
On Fri, Sep 30, 2016 at 5:03 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> On Sep 30, 2016 3:34 PM, "Anuj Phogat" <anuj.phogat at gmail.com> wrote:
>>
>> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
>> ---
>> src/intel/vulkan/gen7_pipeline.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/src/intel/vulkan/gen7_pipeline.c
>> b/src/intel/vulkan/gen7_pipeline.c
>> index 4bab0bc..e804002 100644
>> --- a/src/intel/vulkan/gen7_pipeline.c
>> +++ b/src/intel/vulkan/gen7_pipeline.c
>> @@ -273,7 +273,8 @@ genX(graphics_pipeline_create)(
>> wm.EarlyDepthStencilControl = EDSC_NORMAL;
>> }
>>
>> - wm.BarycentricInterpolationMode =
>> wm_prog_data->barycentric_interp_modes;
>> + wm.BarycentricInterpolationMode = pipeline->ps_ksp0 ==
>> NO_KERNEL ?
>> + 0 :
>> wm_prog_data->barycentric_interp_modes;
>
> I believe this code is in a block that is already protected.
True, I'll drop this patch.
>
>>
>> wm.MultisampleRasterizationMode = samples > 1 ?
>> MSRASTMODE_ON_PATTERN :
>> MSRASTMODE_OFF_PIXEL;
>> --
>> 2.5.5
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list