[Mesa-dev] [PATCH v2 13/16] anv/pipeline: Enable clipper statistics
Jason Ekstrand
jason at jlekstrand.net
Fri Mar 17 16:07:38 UTC 2017
On Fri, Mar 17, 2017 at 9:04 AM, Lionel Landwerlin <
lionel.g.landwerlin at intel.com> wrote:
> Nah ignore me, we don't have any bit field for that in vulkan.h...
> Might be nice to rename me like CLIP though ;)
>
You want 3DSTATE_STREAMOUT statistics renamed? I ca do that easily enough
as a follow-on patch.
>
> On 17/03/17 16:03, Lionel Landwerlin wrote:
>
>> Do we want to enable statistics on 3DSTATE_STREAMOUT as well?
>>
>> On 16/03/17 21:34, Jason Ekstrand wrote:
>>
>>> ---
>>> src/intel/vulkan/genX_pipeline.c | 1 +
>>> 1 file changed, 1 insertion(+)
>>>
>>> diff --git a/src/intel/vulkan/genX_pipeline.c
>>> b/src/intel/vulkan/genX_pipeline.c
>>> index a6ec3b6..bb3e203 100644
>>> --- a/src/intel/vulkan/genX_pipeline.c
>>> +++ b/src/intel/vulkan/genX_pipeline.c
>>> @@ -995,6 +995,7 @@ emit_3dstate_clip(struct anv_pipeline *pipeline,
>>> (void) wm_prog_data;
>>> anv_batch_emit(&pipeline->batch, GENX(3DSTATE_CLIP), clip) {
>>> clip.ClipEnable = true;
>>> + clip.StatisticsEnable = true;
>>> clip.EarlyCullEnable = true;
>>> clip.APIMode = APIMODE_D3D,
>>> clip.ViewportXYClipTestEnable = true;
>>>
>>
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170317/dd2d0a61/attachment.html>
More information about the mesa-dev
mailing list