Quoting Jason Ekstrand (2017-08-04 02:25:27)
> @@ -1497,6 +1569,12 @@ anv_cmd_buffer_execbuf(struct anv_device *device,
>        setup_empty_execbuf(&execbuf, device);
>     }
>  
> +   if (execbuf.fence_count > 0) {

For sanity, since I just had to check, assert(device->has_syncobj);

> +      execbuf.execbuf.flags |= I915_EXEC_FENCE_ARRAY;
> +      execbuf.execbuf.num_cliprects = execbuf.fence_count;
> +      execbuf.execbuf.cliprects_ptr = (uintptr_t) execbuf.fences;
> +   }
> +
>     if (in_fence != -1) {
>        execbuf.execbuf.flags |= I915_EXEC_FENCE_IN;
>        execbuf.execbuf.rsvd2 |= (uint32_t)in_fence;
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to