[Mesa-dev] [PATCH v2 13/16] anv/pipeline: Enable clipper statistics

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Mar 17 16:04:55 UTC 2017


Nah ignore me, we don't have any bit field for that in vulkan.h...
Might be nice to rename me like CLIP though ;)

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




More information about the mesa-dev mailing list